use a normal select instead of a form select not to interfere with select2

[ci skip]
pull/2720/head
Florian Kraft 10 years ago
parent 0f7321b7d4
commit a642aecca9
  1. 4
      app/views/members/_member_form_non_impaired.html.erb

@ -39,7 +39,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="form--column">
<div class="form--field -vertical">
<%= styled_label_tag :member_user_ids, l(:label_principal_search) %>
<%= styled_select_tag "member[user_ids]", options_for_select([]),
<%= select_tag "member[user_ids]", options_for_select([]),
:title => l(:label_principal_search),
:multiple => true,
:'data-ajaxURL' => url_for(:controller => "/members", :action => "autocomplete_for_member"),
@ -52,7 +52,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="form--field -vertical">
<%= styled_label_tag :member_role_ids, l(:label_role_search) %>
<% options = roles.collect { |obj| [obj.name, obj.id] } %>
<%= styled_select_tag 'member[role_ids]', options_for_select(options),
<%= select_tag 'member[role_ids]', options_for_select(options),
:multiple => true,
no_label: true,
:title => l(:label_role_search),

Loading…
Cancel
Save