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

8 lines
232 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') }
%br