9 lines
261 B
Text
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
|