Display the picture field as mandatory
This commit is contained in:
parent
72c61c3aef
commit
7a952da378
|
@ -5,7 +5,7 @@
|
||||||
h2.entry-title = t :speaker_profile
|
h2.entry-title = t :speaker_profile
|
||||||
= f.error_notification
|
= f.error_notification
|
||||||
= f.simple_fields_for :speaker_profile do |ff|
|
= f.simple_fields_for :speaker_profile do |ff|
|
||||||
= ff.input :picture, as: :image_preview, input_html: {preview_version: :thumb}
|
= ff.input :picture, as: :image_preview, input_html: {preview_version: :thumb}, required: true
|
||||||
= ff.input :first_name, autofocus: true
|
= ff.input :first_name, autofocus: true
|
||||||
= ff.input :last_name
|
= ff.input :last_name
|
||||||
= ff.input :public_email
|
= ff.input :public_email
|
||||||
|
|
Loading…
Reference in New Issue