diff --git a/app/views/alchemy/admin/elements/index.html.erb b/app/views/alchemy/admin/elements/index.html.erb index fbdc2c38a0..eff4e59b8f 100644 --- a/app/views/alchemy/admin/elements/index.html.erb +++ b/app/views/alchemy/admin/elements/index.html.erb @@ -10,7 +10,9 @@ <% end %> -
+
<%= render partial: 'alchemy/admin/elements/element', collection: @page.elements.not_trashed.not_in_cell %>
@@ -18,7 +20,7 @@ <%= content_tag :div, id: "cell_#{cell.name}", class: ["sortable_cell", "#{cell.name}_cell"].join(' '), - data: {'cell-id' => cell.id, 'data-droppable-elements' => cell.element_definitions.join(' ')} do %> + data: {'cell-id' => cell.id, 'droppable-elements' => cell.element_definitions.join(' ')} do %> <%= render partial: 'alchemy/admin/elements/element', collection: elements %> <% end %> <% end %>