<%= csrf_meta_tag %> <%= stylesheet_link_tag('alchemy/admin', :media => 'screen') %> <%= stylesheet_link_tag('alchemy/print', :media => 'print') %> <%= yield :stylesheets %> <%= javascript_include_tag('alchemy/alchemy') %> <%= yield :javascript_includes %>
<%= image_tag('alchemy/ajax_loader.gif', :id => 'ajax_loader') %> <%= t("please_wait") %>
<% if current_user %> <%= link_to_overlay_window( "".html_safe, alchemy.leave_admin_path, { :size => "300x105", :title => t("Leave Alchemy") }) %> <% else %> <%= link_to(alchemy.root_path) do %> <% end %> <% end %>
<% if current_user %>
<%= yield(:toolbar) %>
<%= select_tag 'change_locale', options_for_select(::I18n.available_locales.map { |l| [l.to_s.upcase, l] }, ::I18n.locale), :class => 'alchemy_selectbox tiny' %> <%= t('Logged in as') %> <%= current_user.name %>
<% end %> <%= render :partial => 'alchemy/admin/partials/flash_notices' %>
<%= yield %>
<%= yield(:javascripts) %>