feat(multiple_drop_down_list) : Add missing space - fix #10185

This commit is contained in:
Corinne Durrmeyer 2024-03-26 15:27:59 +01:00
parent a69d60efef
commit ab6a76ad46

View file

@ -11,7 +11,7 @@
- else - else
%div{ 'data-turbo-focus-group': true } %div{ 'data-turbo-focus-group': true }
- if @champ.selected_options.present? - if @champ.selected_options.present?
.fr-mb-2w{ "data-turbo": "true" } .fr-mb-2w.fr-mt-2w{ "data-turbo": "true" }
- @champ.selected_options.each do |option| - @champ.selected_options.each do |option|
= render NestedForms::OwnedButtonComponent.new(formaction: champs_options_path(@champ.id, option:), http_method: :delete, opt: { aria: {pressed: true }, class: 'fr-tag fr-tag-bug fr-mb-1w fr-mr-1w', id: @champ.checkbox_id(option) }) do = render NestedForms::OwnedButtonComponent.new(formaction: champs_options_path(@champ.id, option:), http_method: :delete, opt: { aria: {pressed: true }, class: 'fr-tag fr-tag-bug fr-mb-1w fr-mr-1w', id: @champ.checkbox_id(option) }) do
= option = option