Add type_de_champ yes/no
This commit is contained in:
parent
7281ee74b2
commit
23e582d597
4 changed files with 17 additions and 1 deletions
7
app/views/users/description/champs/_yes_no.html.haml
Normal file
7
app/views/users/description/champs/_yes_no.html.haml
Normal file
|
@ -0,0 +1,7 @@
|
|||
%label.radio-inline
|
||||
= radio_button_tag "champs['#{champ.id}']", "true", champ.value == 'true'
|
||||
Oui
|
||||
|
||||
%label.radio-inline
|
||||
= radio_button_tag "champs['#{champ.id}']", "false", champ.value == 'false'
|
||||
Non
|
Loading…
Add table
Add a link
Reference in a new issue