<% content_for(:title) { @page.name } %> <% content_for(:subnav_additions) do %> <% @locked_pages.each do |page| %> <% if @page == page %> <%= render :partial => 'page_status' %> <% else %> <% end %> <% end %> <% end %> <% content_for(:toolbar) do %>
<%= form_tag alchemy.unlock_admin_page_path(@page, :redirect_to => @layoutpage ? alchemy.admin_layoutpages_path : alchemy.admin_pages_path), :id => 'unlock_page_form' do %> <% end %>
<% unless @page.layoutpage? %>
<%= form_tag alchemy.visit_admin_page_path(@page), :id => 'visit_page_form' do %> <% end %>
<% end %>
<%= link_to_overlay_window( render_icon('settings'), alchemy.configure_admin_page_path(@page), { :title => _t(:edit_page_properties), :size => @page.layoutpage? ? '410x150' : '410x650' }, :class => :icon_button, :title => _t(:edit_page_properties) ) %>
<% if configuration(:cache_pages) && !@page.layoutpage? %>
<%= form_tag alchemy.publish_admin_page_path(@page), :id => 'publish_page_form' do %> <% end %>
<% end %>
<%= select_tag('preview_size', preview_sizes_for_select, :class => 'alchemy_selectbox short') %>
<%= link_to(render_icon(:preview_window), '#', { :onclick => "Alchemy.openPreviewWindow()", :title => _t('Show Preview Window'), :class => :icon_button }) %>
<%= link_to(render_icon(:element_window), '#', { :onclick => "Alchemy.openElementsWindow()", :title => _t('Show Elements Window'), :class => :icon_button }) %>
<% end %> <% content_for :javascripts do %> <%= tinymce_javascript_tags %> <% end %>