<%= form_tag events_path, method: 'get', id: 'events-search', class: 'search' do %>
...
<%= label_tag :market_context_ids, 'Market Context(s)', class: 'control-label' %>
<%= select_tag :market_context_ids, options_from_collection_for_select(MarketContext.all, :id, :name, selected: @market_context_ids), { multiple: true, class: 'form-control chosen-select' } %>
<%= label_tag :status_ids, 'Status(es)', class: 'control-label' %>
<%= select_tag :status_ids, options_from_collection_for_select(EventStatus.all, :id, :name, selected: @status_ids),{ multiple: true, class: 'form-control chosen-select' } %>
<%= label_tag :comment_string, 'Comment', class: 'control-label' %>
<%= text_field_tag :comment_string, nil, class: 'form-control', value: @comment_string %>
<%= text_field_tag :first_date_string, @first_date_string, class: 'form-control date-field', readonly: 'readonly' %>
to
<%= text_field_tag :last_date_string, @last_date_string, class: 'form-control date-field', readonly: 'readonly' %>
<%= submit_tag 'Search', class: 'btn btn-primary' %>