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/show.rhtml

12 lines
427 B
Plaintext
Raw Permalink Normal View History

<%= render :partial => 'pages/page' %>
<% unless @style.children.empty? -%>
<h2>Styles under this category</h2>
<ol><%= @style.children.collect { |x| '<li>' + show_style_link(x) + '</li>' } -%></ol>
<% end -%>
<% content_for :sidebar do -%>
<%= new_style_link -%><br />
<%= edit_style_link(@style) -%><br />
<%= link_to 'Destroy', style_path(@style), :confirm => 'Are you sure?', :method => :delete -%><br />
<% end -%>