refactor(procedure_presentation): add required tags
This commit is contained in:
parent
a760ccade9
commit
9043bed3a0
2 changed files with 2 additions and 3 deletions
|
@ -6,12 +6,12 @@
|
|||
= f.label :libelle do
|
||||
Titre de la démarche
|
||||
%span.mandatory *
|
||||
= f.text_field :libelle, class: 'form-control', placeholder: 'Titre'
|
||||
= f.text_field :libelle, class: 'form-control', placeholder: 'Titre', required: true
|
||||
|
||||
= f.label :description do
|
||||
Description
|
||||
%span.mandatory *
|
||||
= f.text_area :description, rows: '6', placeholder: 'Description de la démarche, destinataires, etc. ', class: 'form-control'
|
||||
= f.text_area :description, rows: '6', placeholder: 'Description de la démarche, destinataires, etc. ', class: 'form-control', required: true
|
||||
|
||||
%h3.header-subsection Logo de la démarche
|
||||
= render Attachment::EditComponent.new(attached_file: @procedure.logo, view_as: :link)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue