Sha256: 85880e2c53dc98880ccec85682050904adda8cab34b22ddec27709824dcb4922
Contents?: true
Size: 899 Bytes
Versions: 3
Compression:
Stored size: 899 Bytes
Contents
<li class="<%= page_classes(page) %>" rel="<%= page.id %>"> <div class="page-item"> <h2><%= link_to(page.name, admin_page_path(page)) %></h2> <% unless page.virtual? %> <span class="item-actions primary"> <%= render( partial: Slices::Config.page_actions_template, locals: { page: page } ) %> </span> <%= link_to_delete page unless page.home? %> <% end %> <% if page.home? %> <div class="toggle-actions"> <a class="hide-all-children button">Minimise all</a> <a class="show-all-children button">Expand all</a> </div> <% elsif children.any? %> <a class="toggle-children" href="#page-<%= page.id %>-children"></a> <% end %> </div> <% if children.any? %> <ol id="page-<%= page.id %>-children" class="page-children"> <%= list_pages(children) %> </ol> <% end %> </li>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slices-2.0.2 | app/views/admin/site_maps/_page_li.html.erb |
slices-2.0.1 | app/views/admin/site_maps/_page_li.html.erb |
slices-2.0.0 | app/views/admin/site_maps/_page_li.html.erb |