2010-11-06 10:07:12 -07:00
|
|
|
- title "Needed items for #{@pet_type.human_name}"
|
|
|
|
%h2
|
2023-10-25 15:16:46 -07:00
|
|
|
= 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
|
2023-10-25 15:16:46 -07:00
|
|
|
= 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
|
2024-09-09 18:48:08 -07:00
|
|
|
|
|
|
|
- content_for :stylesheets do
|
|
|
|
= page_stylesheet_link_tag "layouts/items"
|