Emi Matchu
a315282b70
No more of this loading everything into `application.css`! I'm arbitrarily starting here because that's where I've been playing lately, but this is part of a larger effort to move toward a more straightforward CSS architecture (and away from Sass even?)
19 lines
602 B
Text
19 lines
602 B
Text
- title "Needed items for #{@pet_type.human_name}"
|
|
%h2
|
|
= image_tag "https://pets.neopets.com/cpn/#{@pet_name}/1/1.png",
|
|
: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',
|
|
:class => 'button', :target => '_blank'
|
|
= render @items
|
|
|
|
- content_for :stylesheets do
|
|
= page_stylesheet_link_tag "layouts/items"
|