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

3 lines
244 B
Text
Raw Normal View History

2017-02-14 15:23:39 +01:00
%input{type: 'hidden', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", value: ''}
%input{type: 'checkbox', style:'margin-left: 15px;', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.value == 'on')}