<%= csrf_meta_tag %> <%= stylesheet_link_tag('alchemy/admin', :media => 'screen', "data-turbolinks-track" => true) %> <%= stylesheet_link_tag('alchemy/print', :media => 'print', "data-turbolinks-track" => true) %> <%= yield :stylesheets %> <%= render 'alchemy/admin/partials/routes' %> <%= javascript_include_tag('alchemy/alchemy', "data-turbolinks-track" => true) %> <%= yield :javascript_includes %>
<%= _t(:please_wait) %>
<% if current_alchemy_user %> <%= link_to_dialog( "#{render_icon('exit module')}".html_safe, alchemy.leave_admin_path, { size: "300x155", title: _t("Leave Alchemy") }, {'data-alchemy-hotkey' => 'alt+q'}) %> <% else %> <%= link_to(alchemy.root_path) do %> <% end %> <% end %>
<% if current_alchemy_user %>
<%= yield(:toolbar) %>
<%= current_alchemy_user_name %> <%= select_tag 'change_locale', options_for_select(translations_for_select, ::I18n.locale), class: 'alchemy_selectbox tiny' %> <%- if multi_site? -%> <%= select_tag 'change_site', options_for_select(sites_for_select, Alchemy::Site.current.id), class: 'alchemy_selectbox tiny' %> <%- end -%>
<% end %> <%= render :partial => 'alchemy/admin/partials/flash_notices' %>
<%= yield %>
<%= yield(:javascripts) %>