This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/styles/index.rhtml

10 lines
311 B
Plaintext

<% if @styles.empty? -%>
<h1>No styles found.</h1>
<% else -%>
<ol><%= @styles.collect { |s| '<li>' + link_to(s.title, style_path(:id => s.page.title_for_url)) + '</li>' } %></ol>
<% end -%>
<% content_for :sidebar do -%>
<%= new_style_link -%><br />
<%= render :partial => 'shared/tag_cloud' %>
<% end -%>