fix: label in linked_drop_down
This commit is contained in:
parent
3dc0ed7695
commit
e86375046b
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@
|
|||
|
||||
.secondary{ class: @champ.has_secondary_options_for_primary? ? '' : 'hidden' }
|
||||
= @form.label :secondary_value, for: "#{@champ.input_id}-secondary" do
|
||||
= @champ.drop_down_secondary_libelle.presence || "Valeur secondaire dépendant de la première"
|
||||
- if @champ.type_de_champ.mandatory?
|
||||
%span.mandatory *
|
||||
- sanitize((@champ.drop_down_secondary_libelle.presence || "Valeur secondaire dépendant de la première") + (@champ.type_de_champ.mandatory? ? tag.span(' *', class: 'mandatory') : ''))
|
||||
-# - if @champ.type_de_champ.mandatory?
|
||||
-# %span.mandatory *
|
||||
- if @champ.drop_down_secondary_description.present?
|
||||
.notice{ id: "#{@champ.describedby_id}-secondary" }= string_to_html(@champ.drop_down_secondary_description)
|
||||
= @form.select :secondary_value,
|
||||
|
|
Loading…
Add table
Reference in a new issue