demarches-normaliennes/app/views/users/description/champs/_checkbox.html.haml

2 lines
163 B
Text
Raw Normal View History

2017-04-06 19:10:25 +02:00
%input{ type: 'checkbox', style:'margin-left: 15px;', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.object.value == 'on') }