summaryrefslogtreecommitdiff
path: root/app/views/common/_search.html.haml
blob: 9f14903a3d1461cddc86fc43bb839262c269ffc5 (plain)
1
2
3
4
5
6
7
8
= form_tag path, :method => :get, :class => "form-search" do
  .input-append
    = text_field_tag :query, params[:query],
      id: "#{id}-typeahead",
      class: "search-query",
      autocomplete: :off
    %button.btn{:type => :submit}= submit_label