Sha256: a52ca9d56e981b7e6f45b6467759f6fdd012b402613a108c028c3c20b03d70c8

Contents?: true

Size: 596 Bytes

Versions: 6

Compression:

Stored size: 596 Bytes

Contents

 <% title @page.title, false %>
<% unless @page.children.empty? %>

<ul>
  <% for page in @page.children  %>
    <li><%= link_to h(page.title), page %></li>
  <% end %>
</ul>
<% end %>
<br>
<% for page in @page.ancestors.each %>
  <%= link_to h(page.title), page %> &gt;
<% end %>


 <br/><br/>
<p>

    <%= link_to "Edit", edit_admin_page_path(@page) %> |
    <%= link_to "Destroy", admin_page_path(@page), :confirm => 'Are you sure?', :method => :delete %> |
    <%= link_to "View All", admin_pages_path %>

</p>  <br/><br/> <br/>
<div id="page_content">
    <%= raw @page.content %>
</div>



Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
quic_cms-0.1.1 app/views/quic_cms/admin/pages/show.html.erb
quic_cms-0.1.0 app/views/quic_cms/admin/pages/show.html.erb
quic_cms-0.0.9 app/views/quic_cms/admin/pages/show.html.erb
quic_cms-0.0.8 app/views/quic_cms/admin/pages/show.html.erb
quic_cms-0.0.7 app/views/quic_cms/admin/pages/show.html.erb
quic_cms-0.0.6 app/views/quic_cms/admin/pages/show.html.erb