Form: add select2 form multiple select

This commit is contained in:
Simon Lehericey 2017-07-26 13:22:25 +02:00 committed by Mathieu Magnin
parent e0bd42032a
commit 509b378567
5 changed files with 34 additions and 2 deletions

View file

@ -5,4 +5,5 @@
options_for_select(champ.drop_down_list.options,
selected: champ.drop_down_list.selected_options_without_decorator(champ),
disabled: champ.drop_down_list.disabled_options),
multiple: true)
multiple: true,
class: 'select2')