%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
  = raw "var AUTH_TOKEN = \"#{form_authenticity_token}\";"

= render "layouts/bugherd_script"
%link{'data-require' => "font-awesome@*", 'data-semver'=>"4.2.0", 'rel' => "stylesheet", 'href' => "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css"}

= render "layouts/auth_token_script"

= yield :head
