Fix avis linked dossiers invitation checkbox

fix #4678
This commit is contained in:
Paul Chavard 2020-02-05 17:30:06 +01:00
parent d5fcaf7073
commit 8a514e0713

View file

@ -7,7 +7,7 @@
= f.text_area :introduction, rows: 3, value: avis.introduction || 'Bonjour, merci de me donner votre avis sur ce dossier.', required: true
- if linked_dossiers.present?
= f.check_box :invite_linked_dossiers, value: false
= f.check_box :invite_linked_dossiers, {}, true, false
= f.label :invite_linked_dossiers, t('helpers.label.invite_linked_dossiers', count: linked_dossiers.length, ids: linked_dossiers.map(&:id).to_sentence)
.flex.justify-between.align-baseline