views: remove "Select a value" text on radio lists
This text: - Isn't present on other form controls - Should only be displayed if the field is mandatory anyway
This commit is contained in:
parent
2df7408547
commit
50f61ee37b
1 changed files with 0 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
- if champ.options?
|
||||
- if champ.render_as_radios?
|
||||
%fieldset.radios
|
||||
%legend.mandatory-explanation
|
||||
Sélectionnez une des valeurs
|
||||
- champ.enabled_non_empty_options.each do |option|
|
||||
%label
|
||||
= form.radio_button :value, option
|
||||
|
|
Loading…
Reference in a new issue