orbit-4-2/app/views/admin/items/index.html.erb

15 lines
442 B
Plaintext
Raw Normal View History

<% content_for :page_specific_javascript do %>
<%= javascript_include_tag "lib/items/items" %>
<% end %>
<% node = Item.root %>
<% unless node.nil? %>
<ol id='<%= node.id %>' class="sortable item-groups">
<%= render 'node_and_children', node: node %>
</ol>
<% end %>
<%= render 'layouts/delete_modal', delete_options: {remote: true} %>
<%= render 'form_page' %>
<%= render 'form_link' %>
<%= javascript_include_tag "lib/pageslide.js" %>