Multiple drop down list au DSFR
This commit is contained in:
parent
7bc7106a96
commit
74d04c84f5
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
- else
|
||||
%div{ 'data-turbo-focus-group': true }
|
||||
- if @champ.selected_options.present?
|
||||
.fr-mb-2w
|
||||
.fr-mb-2w{ "data-turbo": "true" }
|
||||
- @champ.selected_options.each do |option|
|
||||
= render NestedForms::OwnedButtonComponent.new(formaction: champs_options_path(@champ.id, option:), http_method: :delete, opt: { class: 'fr-tag fr-tag-bug fr-mb-1w fr-mr-1w', id: @champ.checkbox_id(option) }) do
|
||||
= option
|
||||
|
|
Loading…
Reference in a new issue