impress/app/views/outfits/index.html.haml

25 lines
775 B
Text
Raw Normal View History

- title 'Your outfits'
%p
These are the outfits that you've saved to Dress to Impress so far. To save
some more, head to the wardrobe and click Save Outfit in the top right
corner.
%p
The link for each outfit is totally public, so please feel free to share the
URL with the whole wide world.
- unless @outfits.empty?
%ul#outfits= render @outfits
- else
%p
You haven't saved any outfits yet.
- succeed ',' do
= link_to 'Start at the home page', root_path
enter a pet name or choose a color combination, create the outfit of your
dreams, and click "Save Outfit" in the top right corner.
%p
It'll be fantastic. Promise.
2011-07-14 10:14:06 -07:00
- content_for :javascripts do
= include_javascript_libraries :jquery
= javascript_include_tag 'outfits/index'