%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}

= csrf_meta_tags

%title
  - if content_for? :html_title
    = yield :html_title
  - else
    = t(controller.controller_name, :default => controller.controller_name.titleize)
  = " - OFN #{t(:administration)}"

%link{:href => "//fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600&subset=latin,cyrillic,greek,vietnamese", :rel => "stylesheet", :type => "text/css"}

= stylesheet_link_tag 'admin/all'
= javascript_include_tag 'admin/all'

= render "spree/admin/shared/translations"
= render "spree/admin/shared/routes"

= javascript_tag do
  jQuery.alerts.dialogClass = 'spree';
  \#{"var AUTH_TOKEN = #{form_authenticity_token.inspect};"}

= yield :head

%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}

= csrf_meta_tags

%title
  - if content_for? :html_title
    = yield :html_title
  - else
    = t(controller.controller_name, :default => controller.controller_name.titleize)
  = " - OFN #{t(:administration)}"

%link{:href => "//fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600&subset=latin,cyrillic,greek,vietnamese", :rel => "stylesheet", :type => "text/css"}

= stylesheet_link_tag 'admin/all'
= javascript_include_tag 'admin/all'

= render "spree/admin/shared/translations"
= render "spree/admin/shared/routes"

%script
  = "jQuery.alerts.dialogClass = 'spree';"
  = raw "var AUTH_TOKEN = \"#{form_authenticity_token}\";"

= yield :head

Fix error in js tag in head
Fix error in js tag in head
