From 50f61ee37b2601abc6aaf04f8dc0077c09b4ee8c Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Wed, 19 Aug 2020 12:32:26 +0200 Subject: [PATCH] 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 --- .../shared/dossiers/editable_champs/_drop_down_list.html.haml | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/shared/dossiers/editable_champs/_drop_down_list.html.haml b/app/views/shared/dossiers/editable_champs/_drop_down_list.html.haml index a2c38f0fc..52c08912d 100644 --- a/app/views/shared/dossiers/editable_champs/_drop_down_list.html.haml +++ b/app/views/shared/dossiers/editable_champs/_drop_down_list.html.haml @@ -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