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

4 lines
257 B
Text
Raw Normal View History

%div
%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')}