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

16 lines
557 B
Text
Raw Permalink Normal View History

- content_for :before_title, advertise_campaign_progress(@campaign)
2011-05-21 19:58:48 -07:00
- content_for :title_category do
#{t 'infinite_closet'}: #{t '.title_tagline'}
2010-11-05 15:45:05 -07:00
- content_for :before_flashes do
%h1
= link_to items_path do
= image_tag 'https://images.neopets.com/items/mall_floatingneggfaerie.gif'
%span= t 'infinite_closet'
2010-11-05 15:45:05 -07:00
- content_for :content do
= form_tag items_path, method: :get, class: "item-search-form" do
= text_field_tag :q, @query.to_s
= submit_tag t('.search'), :name => nil
2010-11-05 15:45:05 -07:00
= yield
= render template: 'layouts/application'