Sha256: 2fb98501004cd2dea148a117c3071eec91f54931dbb0f15f116457d9d15e21bb
Contents?: true
Size: 593 Bytes
Versions: 3
Compression:
Stored size: 593 Bytes
Contents
<% content_for :admin_context_menu do %> <h2>Admin Section</h2> <%= link_to 'edit this page', edit_page_path(page), class: 'btn' %> <% if Page.not_for_blog.orphans.published.any? %> <h4>Reorder Root Page Menu Items</h4> <ul class="draggable" data-update-url="<%= sort_pages_path %>"> <% for page in Page.not_for_blog.orphans.published.by_menu_position %> <%= content_tag :li, page, class: 'page', id: "page_#{page.id}" do %> <%= image_tag 'drag-handle.gif', :class => 'handle silhouette' %> <%= page.nickname -%> <% end -%> <% end %> </ul> <% end %> <% end -%>
Version data entries
3 entries across 3 versions & 1 rubygems