From d48bbdecfae8909463a9c27243b28d0ea5b93b5a Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 13 May 2011 08:07:20 -0400 Subject: [PATCH] put items search query in title --- app/views/items/index.html.haml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/items/index.html.haml b/app/views/items/index.html.haml index d84c66e5..f8543bd6 100644 --- a/app/views/items/index.html.haml +++ b/app/views/items/index.html.haml @@ -1,11 +1,12 @@ - if @items + - title "Searching Infinite Closet for \"#{@query}\"" - if @items.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]: / - else = will_paginate @items @@ -27,7 +28,8 @@ %dd returns any item a Shoyru can wear %dt type:hat %dd returns any item that fills a "hat" zone - + #species-search-links %h2 Can't decide? Search by species = standard_species_search_links +