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

8 lines
238 B
Text

%div
%label.radio-inline
= radio_button_tag "champs['#{champ.id}']", "true", champ.object.value == 'true'
Oui
%label.radio-inline
= radio_button_tag "champs['#{champ.id}']", "false", champ.object.value == 'false'
Non