<%= 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| %>
<% end %>