Sha256: fc6d73c3ab6c3d1596a75ed0af0d090cf2ca22cd00c65f143978d0a98c21ae79
Contents?: true
Size: 616 Bytes
Versions: 3
Compression:
Stored size: 616 Bytes
Contents
<% title @page.title, false %> <% unless @page.children.empty? %> <ul> <% for page in @page.children %> <li><%= link_to h(page.title), [:admin, page] %></li> <% end %> </ul> <% end %> <br> <% for page in @page.ancestors.each %> <%= link_to h(page.title), [:admin, page] %> > <% 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quic_cms-0.1.4 | app/views/quic_cms/admin/pages/show.html.erb |
quic_cms-0.1.3 | app/views/quic_cms/admin/pages/show.html.erb |
quic_cms-0.1.2 | app/views/quic_cms/admin/pages/show.html.erb |