%- content_for(:subnav_additions) do -%>
<%- unless @locked_pages.blank? -%>
<%- @locked_pages.each do |page| -%>
<%= link_to alchemy.edit_admin_page_path(page) do %>
<%= truncate page.name, :length => 15 %>
<% end %>
<%= form_tag(alchemy.unlock_admin_page_path(page), :remote => true) do %>
<% end %>
<%- end -%>
<%- end -%>
<%- end -%>
<%- content_for :toolbar do -%>
<%- end -%>
<%- if @page_root -%>
<%= t('Name') %>
<%= t('Status') %>
<%= render_icon('info') %>
<%= t('explain_sitemap_dragndrop_sorting') %>
<%= link_to( t('cancel'), alchemy.admin_pages_path, :class => 'button' ) %>
<%= submit_tag( t('save order'), :id => 'save_page_order', :class => 'button' ) %>
<%= render :partial => 'sitemap' %>
<%- else -%>
<%= render :partial => 'create_language_form' %>
<%- end -%>