<%= form_tag collections_path, method: 'get', remote: true, class: 'form-search' do %>
<%= text_field_tag :search, params[:search], class: 'form-control', placeholder: 'Search collections' %>
<%= button_tag(class: 'btn btn-info') do %>
<% end %>
<% end %>
<% end %>