demarches-normaliennes/app/views/new_gestionnaire/dossiers/champs/_engagement.html.haml
2017-09-06 11:11:30 +02:00

9 lines
261 B
Text

= render partial: 'new_gestionnaire/dossiers/champs/champ_label', locals: { champ: champ }
%input{ type: 'checkbox',
name: "champs['#{champ.id}']",
id: "champs_#{champ.id}",
checked: ('checked' if champ.value == 'on'),
required: champ.mandatory }
%br