Improve partial for empty lists
[shapado:shapado.git] / app / views / themes / index.html.haml
1 %h1
2   = t(".title", :default => "Themes")
3 %p.description
4   Find here your themes and change the look of your app, If you wan you can build your own,
5   =link_to "new", new_theme_path
6
7 %section.themes
8   -if @themes.empty?
9     = render "shared/empty", :type => "themes", :url => new_theme_path
10
11   -@themes.each do |theme|
12     = render "theme", :theme => theme
13
14