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

17 lines
526 B
Text
Raw Normal View History

2010-11-06 10:07:12 -07:00
- title "Needed items for #{@pet_type.human_name}"
%h2
= image_tag "https://pets.neopets.com/cpn/#{@pet_name}/1/1.png",
2010-11-06 10:07:12 -07:00
:class => 'inline-image'
%span.pet-name= @pet_name
can model…
%ul.buttons
%li
= form_tag load_pet_path do
= origin_tag 'needed_items'
= hidden_field_tag 'name', @pet_name
= submit_tag "I'm wearing one now!", :class => 'loud'
%li
= link_to 'What do I own?', 'https://www.neopets.com/closet.phtml',
2010-11-06 10:07:12 -07:00
:class => 'button', :target => '_blank'
= render @items