diff --git a/app/views/styles/index.rhtml b/app/views/styles/index.rhtml index b179864..27037c5 100644 --- a/app/views/styles/index.rhtml +++ b/app/views/styles/index.rhtml @@ -1,5 +1,5 @@ <% if @styles.empty? -%> -

No styles found.

+ <% else -%>
    <%= @styles.collect { |s| '
  1. ' + link_to(s.title, style_path(:id => s.page.title_for_url)) + '
  2. ' } %>
<% end -%> @@ -7,4 +7,4 @@ <% content_for :sidebar do -%> <%= new_style_link -%>
<%= render :partial => 'shared/tag_cloud' %> -<% end -%> \ No newline at end of file +<% end -%>