Orbit/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? %>
2013-07-22 08:31:44 +00:00
<ol id='<%= node.id %>' class="sortable item-groups">
<%= render 'node_and_children', node: node %>
</ol>
<% end %>
<%= render 'layouts/delete_modal', delete_options: {remote: true} %>
2013-10-23 07:51:49 +00:00
<%= render 'form_page' %>
2013-10-23 10:28:09 +00:00
<%= render 'form_link' %>
<%= javascript_include_tag "lib/pageslide.js" %>