Commit b3a733f1 authored by Rémy Coutable's avatar Rémy Coutable

Resolve app/helpers/selects_helper.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 726743b1
......@@ -36,10 +36,7 @@ module SelectsHelper
def groups_select_tag(id, opts = {})
classes = Array.wrap(opts[:class])
classes << 'ajax-groups-select'
<<<<<<< HEAD
classes << 'multiselect' if opts[:multiple]
=======
>>>>>>> upstream/master
opts[:class] = classes.join(' ')
......@@ -74,12 +71,6 @@ module SelectsHelper
def select2_tag(id, opts = {})
klass_opts = [opts[:class]]
klass_opts << 'multiselect' if opts[:multiple]
<<<<<<< HEAD
=======
opts[:class] = klass_opts.join(' ')
value = opts[:selected] || ''
>>>>>>> upstream/master
opts[:class] = klass_opts.join(' ')
value = opts[:selected] || ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment