% if Carload.search_engine != :none %>
<%= form_for :search, url: dashboard_search_path(@model_names), method: :get do |f| %>
<%= fa_icon('search') %>
<%= f.text_field :query, class: 'form-control', placeholder: 'Search ...', value: @query %>
<% end %>
<% end %>