Sha256: 9aec06ec373051cdeaf44d5dc2d9081e54e5ba285f6b612f8172adcffb83cbf7
Contents?: true
Size: 881 Bytes
Versions: 32
Compression:
Stored size: 881 Bytes
Contents
<% layout ||= index_branch %> <li id='cms_layout_<%= layout.id %>'> <div class='item'> <div class='icon'></div> <div class='action_links'> <%= link_to t('.add_child_layout'), new_cms_admin_site_layout_path(@site, :parent_id => layout.id) %> <%= link_to t('.edit'), edit_cms_admin_site_layout_path(@site, layout) %> <%= link_to t('.delete'), cms_admin_site_layout_path(@site, layout), :method => :delete, :confirm => t('.are_you_sure') %> </div> <div class='label'> <%= link_to layout.label, edit_cms_admin_site_layout_path(@site, layout) %> <div class='sublabel'> <%= link_to layout.slug, edit_cms_admin_site_layout_path(@site, layout) %> </div> </div> </div> <% if layout.children.present? %> <ul> <%= render :partial => 'index_branch', :collection => layout.children %> </ul> <% end %> </li>
Version data entries
32 entries across 32 versions & 1 rubygems