Sha256: 35dadce59a279fffaa5dcf881a4451f0ac5279d82b0b29ea5d349cf63752558c

Contents?: true

Size: 849 Bytes

Versions: 22

Compression:

Stored size: 849 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) %>
      </div>
    </div>
  </div>
  <% if cms_layout.children.present? %>
    <ul>
      <%= render :partial => 'index_branch', :collection => cms_layout.children %>
    </ul>
  <% end %>
</li>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.0.42 app/views/cms_admin/layouts/_index_branch.html.erb
comfortable_mexican_sofa-1.0.41 app/views/cms_admin/layouts/_index_branch.html.erb