app/views/alchemy/admin/pages/index.html.erb in alchemy_cms-3.5.0 vs app/views/alchemy/admin/pages/index.html.erb in alchemy_cms-3.6.0
- old
+ new
@@ -14,18 +14,16 @@
) %>
<label><%= Alchemy.t('Flush page cache') %></label>
</div>
<% end %>
<% if can?(:sort, Alchemy::Page) %>
- <div class="button_with_label" id="page_sorting_button">
+ <div class="button_with_label">
<%= link_to(
- render_icon('sort'),
+ render_icon(:sort),
alchemy.sort_admin_pages_path,
- :complete => '',
- :method => :get,
- :remote => true,
- :class => 'icon_button please_wait',
- :title => Alchemy.t('Sort pages')
+ method: :get,
+ class: 'icon_button please_wait',
+ title: Alchemy.t('Sort pages')
) %>
<label><%= Alchemy.t('Sort pages') %></label>
</div>
<% end %>
<div class="button_with_label" id="clipboard_button">