demarches-normaliennes/app/views/users/description/champs/_checkbox.html.haml
2017-04-10 17:55:55 +02:00

1 line
165 B
Text

%input{ type: 'checkbox', style: 'margin-left: 15px;', name: "champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.object.value == 'on') }