Sha256: d6c2c56f09a0e8536f261961e442d5eb5e4209717a72a5fb81de2e066bf13b30

Contents?: true

Size: 680 Bytes

Versions: 12

Compression:

Stored size: 680 Bytes

Contents

<% content_tag_for :li, page do %>
  <%= page_icon page %>
  <% if page.published? %>
    <%= cms_icon 'accept.png' %>
  <% else %>
    <%= delete_page_link page %>
  <% end %>
  <%= link_to truncate(page.to_s, :length => 24), edit_cms_page_path(page), :title => "Edit '#{page}'" %>

  <%= cms_icon 'house.png', :title => 'Root/Home Page' if page.root? %>
  <%= link_to cms_icon('magnifier.png', :title => 'View'), page.url, :class => 'external' if page.published? %>

  <%= indicator dom_id(page, 'progress') %>

  <% unless page.content_pages.empty? %>
    <ul>
      <%= render :partial => 'cms/pages/page', :collection => page.content_pages %>
    </ul>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
liquid_cms-0.2.0.13 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.12 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.11 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.10 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.9 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.8 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.7 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.6 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.5 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.4 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.3 app/views/cms/pages/_page.html.erb
liquid_cms-0.2.0.2 app/views/cms/pages/_page.html.erb