impress/app/views/items/index.html.haml

7 lines
198 B
Text

= form_tag items_path, :method => :get do
= text_field_tag :q, @query
= submit_tag 'Search', :name => nil
- if @results
= will_paginate @results
= render @results
= will_paginate @results