16 lines
499 B
Text
16 lines
499 B
Text
= form_tag items_path, :method => :get do
|
|
= text_field_tag :q, @query
|
|
= submit_tag 'Search', :name => nil
|
|
- if @results
|
|
- if @results.empty?
|
|
:markdown
|
|
We couldn't find any wearables that matched **#{@query}**. Sorry!
|
|
|
|
Are we missing something? To add an item to our database, just
|
|
[show us a pet who is wearing it][1]. That's it!
|
|
|
|
[1]: http://impress.openneo.net/
|
|
- else
|
|
= will_paginate @results
|
|
= render @results
|
|
= will_paginate @results
|