11 lines
410 B
Plaintext
11 lines
410 B
Plaintext
<%= render :partial => 'pages/page' %>
|
|
|
|
<% unless @style.children.empty? -%>
|
|
<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.page.title_for_url), :confirm => 'Are you sure?', :method => :delete -%><br />
|
|
<% end -%> |