2017-07-25 14:33:03 +02:00
|
|
|
= render partial: 'new_gestionnaire/dossiers/champs/champ_label', locals: { champ: champ }
|
|
|
|
|
|
|
|
%input{ type: 'checkbox',
|
|
|
|
name: "champs['#{champ.id}']",
|
|
|
|
id: "champs_#{champ.id}",
|
2017-07-27 11:09:28 +02:00
|
|
|
checked: ('checked' if champ.value == 'on'),
|
|
|
|
required: champ.mandatory }
|
2017-07-25 14:33:03 +02:00
|
|
|
|
|
|
|
%br
|