Sha256: 21978078ee7cb13c6fd586e5f384d986befb26505b791e08d9982e19186052cc
Contents?: true
Size: 1 KB
Versions: 12
Compression:
Stored size: 1 KB
Contents
<% layout ||= index_branch %> <li id='cms_layout_<%= layout.id %>'> <div class='item'> <div class='icon'> <% if !params[:category].present? %> <div class='dragger'><span><%= t('cms.views.pages.drag') %></span></div> <% end %> </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
12 entries across 12 versions & 1 rubygems