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

8 lines
198 B
Text
Raw Normal View History

2010-05-15 10:47:46 -07:00
= 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