% content_for :toolbar do %>
<%= text_field_tag 'filter', '',
class: 'thin_border js_filter_field search_input_field',
placeholder: Alchemy.t(:search),
id: nil %>
<%= render_icon :search %>
<%= link_to('', '#', {
class: "js_filter_field_clear",
title: Alchemy.t(:click_to_show_all)
}) %>
<% end %>
<% if @page_root %>
<%= render_icon('info') %>
<%= Alchemy.t(:explain_sitemap_dragndrop_sorting) %>
<%= link_to( Alchemy.t(:cancel), alchemy.admin_pages_path, :class => 'button' ) %>
<%= submit_tag( Alchemy.t('save order'), :id => 'save_page_order', :class => 'button' ) %>
<%= render 'sitemap', page_partial: 'page', full: !!@sorting %>
<% elsif can?(:create, Alchemy::Page) %>
<%= render partial: 'create_language_form' %>
<% else %>
<%= render_message :warn do %>
No language root page found.
Please ask the admin to create one.
<% end %>
<% end %>