This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/items/index.html.erb

15 lines
442 B
Plaintext

<% 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" %>