Update app/views/administrateurs/procedures/_informations.html.haml

Co-authored-by: Paul Chavard <github@paul.chavard.net>
This commit is contained in:
mfo 2022-07-18 14:08:46 +02:00
parent 8ca3a9760b
commit 4b6ae888d2

View file

@ -31,7 +31,7 @@
= t(:notice, scope: [:administrateurs, :duree_conservation_dossiers_dans_ds])
- if f.object.duree_conservation_dossiers_dans_ds.to_i < Procedure::NEW_MAX_DUREE_CONSERVATION
= t(:new_duration_constraint, scope: [:administrateurs, :duree_conservation_dossiers_dans_ds], new_duration_in_month: Procedure::NEW_MAX_DUREE_CONSERVATION)
= f.number_field :duree_conservation_dossiers_dans_ds, {class: 'form-control', placeholder: '6', required: true}.merge(f.object.duree_conservation_etendue_par_ds ? {} : {max: 12})
= f.number_field :duree_conservation_dossiers_dans_ds, { class: 'form-control', placeholder: '6', required: true }.merge(f.object.duree_conservation_etendue_par_ds ? {} : { max: 12 })
- if @procedure.created_at.present?
= f.label :lien_site_web do