Sha256: bd521a32bfb2dc14b51e28b12a4eabeffe83c116f0f86fdeed0a7c4c109e791f

Contents?: true

Size: 681 Bytes

Versions: 9

Compression:

Stored size: 681 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

9 entries across 9 versions & 1 rubygems

Version Path
liquid_cms-0.3.0.10 app/views/cms/pages/_page.html.erb
liquid_cms-0.3.0.9 app/views/cms/pages/_page.html.erb
liquid_cms-0.3.0.8 app/views/cms/pages/_page.html.erb
liquid_cms-0.3.0.7 app/views/cms/pages/_page.html.erb
liquid_cms-0.3.0.6 app/views/cms/pages/_page.html.erb
liquid_cms-0.3.0.5 app/views/cms/pages/_page.html.erb
liquid_cms-0.3.0.4 app/views/cms/pages/_page.html.erb
liquid_cms-0.3.0.3 app/views/cms/pages/_page.html.erb
liquid_cms-0.3.0.2 app/views/cms/pages/_page.html.erb