Sha256: 3a654785ca5336aaffcffb9f3e80d804f63cf8772fa73280aac431ba266c6924

Contents?: true

Size: 1012 Bytes

Versions: 6

Compression:

Stored size: 1012 Bytes

Contents

<% cms_layout ||= index_branch %>

<li id='cms_layout_<%= cms_layout.id %>'>
  <div class='item'>
    <div class='icon'></div>
    <div class='action_links'>
      <%= link_to 'Add Child Layout', new_cms_admin_layout_path(:parent_id => cms_layout.id) %>
      <%= link_to 'Edit', edit_cms_admin_layout_path(cms_layout) %>
      <%= link_to 'Delete', cms_admin_layout_path(cms_layout), :method => :delete, :confirm => 'Are you sure?' %>
    </div>
    <div class='label'>
      <%= link_to cms_layout.label, edit_cms_admin_layout_path(cms_layout) %>
      <div class='sublabel'>
        <%= link_to cms_layout.slug, edit_cms_admin_layout_path(cms_layout) %><br>
        <div style='float:right'>Last updated by: <%=cms_layout.cms_user.full_name%> on <%=cms_layout.updated_at.strftime("%m/%d/%Y at %I:%M %p %Z") %></div>
      </div>
    </div>
  </div>
  <% if cms_layout.children.present? %>
    <ul>
      <%= render :partial => 'index_branch', :collection => cms_layout.children %>
    </ul>
  <% end %>
</li>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lucy_cms-0.0.6 app/views/cms_admin/layouts/_index_branch.html.erb
lucy_cms-0.0.5 app/views/cms_admin/layouts/_index_branch.html.erb
lucy_cms-0.0.4 app/views/cms_admin/layouts/_index_branch.html.erb
lucy_cms-0.0.3 app/views/cms_admin/layouts/_index_branch.html.erb
lucy_cms-0.0.2 app/views/cms_admin/layouts/_index_branch.html.erb
lucy_cms-0.0.1 app/views/cms_admin/layouts/_index_branch.html.erb