<%= stylesheet_link_tag "admin", :media => "all" %> <%= favicon_link_tag %> <%= csrf_meta_tag %>
<%= render 'shared/login_info' %>

<% if defined?(Setting) && !Setting.first.site_name.blank? %> <%= (t("admin_panel_for") + ' ' + link_to(Setting.first.site_name, root_path)).html_safe %> <% elsif defined?(APP_SETTINGS) && APP_SETTINGS['site_name'] %> <%= t("admin_panel_for") + ' ' + APP_SETTINGS['site_name'] %> <% else %> <%= t 'admin_panel' %> <% end %>

<% flash.each do |name, msg| %>
"> × <%= msg %>
<% end %>
<%= yield %>
<%= javascript_include_tag "admin" %>