demarches-normaliennes/app/views/new_gestionnaire/dossiers/champs/_engagement.html.haml

9 lines
232 B
Text
Raw Normal View History

= 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') }
%br