Fix the indentation in the drop down list template
This commit is contained in:
parent
2d5df47c4e
commit
4788e280f5
1 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
- if champ.drop_down_list && champ.drop_down_list.options.any?
|
||||
= select_tag("champs['#{champ.id}']",
|
||||
options_for_select(champ.drop_down_list.options, selected: champ.drop_down_list.selected_options(champ),
|
||||
disabled: champ.drop_down_list.disabled_options),
|
||||
multiple: champ.drop_down_list.multiple,
|
||||
class: champ.drop_down_list.multiple ? 'select2' : nil)
|
||||
= select_tag("champs['#{champ.id}']",
|
||||
options_for_select(champ.drop_down_list.options,
|
||||
selected: champ.drop_down_list.selected_options(champ),
|
||||
disabled: champ.drop_down_list.disabled_options),
|
||||
multiple: champ.drop_down_list.multiple,
|
||||
class: champ.drop_down_list.multiple ? 'select2' : nil)
|
||||
|
|
Loading…
Reference in a new issue