Sha256: 943680475c91972d76d7a8dd9f60638955b75c781878d1362ec50689d6652a8c

Contents?: true

Size: 937 Bytes

Versions: 10

Compression:

Stored size: 937 Bytes

Contents

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<%= csrf_meta_tags %>

<title>
  <% if content_for? :title %>
    <%= yield :title %>
  <% else %>
    <%= "Spree #{Spree.t('administration')}: " %>
    <%= Spree.t(controller.controller_name, default: controller.controller_name.titleize) %>
  <% end %>
</title>

<%= stylesheet_link_tag 'spree/backend/all', media: :all %>

<%= render 'spree/shared/paths' %>
<%= javascript_include_tag 'spree/backend/all' %>
<%= render "spree/admin/shared/translations" %>

<script>
  <%== "var AUTH_TOKEN = #{form_authenticity_token.inspect};" %>
  <%== "Spree.api_key = '#{try_spree_current_user.spree_api_key}';" if try_spree_current_user %>
  <%== "var ADDRESS_FIELDS = #{Spree::Address::ADDRESS_FIELDS}" %>
  <% if Rails.env.test? %>
  jQuery.fx.off = false
  <% end %>
</script>

<%= yield :head %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_backend-4.2.7 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.6 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.5 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.4 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.3.1 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.3 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.2 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.1 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.0 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.2.0.rc5 app/views/spree/admin/shared/_head.html.erb