<%= csrf_meta_tag %> <%= stylesheet_link_tag('alchemy/admin/all', 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/admin/all', 'data-turbolinks-track' => true) %> <%= yield :javascript_includes %> <%= content_tag :body, id: 'alchemy', class: alchemy_body_class do %>
<%= Alchemy.t(:please_wait) %>
<% if current_alchemy_user %> <%= link_to_dialog( "#{render_icon('exit module')}".html_safe, alchemy.leave_admin_path, { size: "300x155", title: Alchemy.t("Leave Alchemy") }, {'data-alchemy-hotkey' => 'alt+q'}) %> <% else %> <%= link_to(alchemy.root_path) do %> <% end %> <% end %>
<% if current_alchemy_user %>
<%= yield(:toolbar) %>
<% end %> <%= render :partial => 'alchemy/admin/partials/flash_notices' %>
<%= yield %>
<%= render 'alchemy/admin/uploader/setup' %> <%= yield(:javascripts) %> <% end %>