Sha256: 145949d7472a130941b5abd06e8ae8eeeb512068dbc89de51c937a68be65948d

Contents?: true

Size: 994 Bytes

Versions: 4

Compression:

Stored size: 994 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 %>

<script>
  <%== "var AUTH_TOKEN = #{form_authenticity_token.inspect};" %>
  <%== "var OAUTH_TOKEN = '#{admin_oauth_token}';" if defined?(admin_oauth_token) %>
  <%== "var ADDRESS_FIELDS = #{Spree::Address::ADDRESS_FIELDS}" %>
</script>
<%= render 'spree/admin/shared/paths' %>
<%= javascript_include_tag "spree-dashboard", defer: true, data: { turbo_track: "reload" } %>
<%= javascript_include_tag 'spree/backend/all', data: { turbo_track: "reload" } %>
<%= render "spree/admin/shared/translations" %>

<%= yield :head %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_backend-4.4.1 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.4.0 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.4.0.rc2 app/views/spree/admin/shared/_head.html.erb
spree_backend-4.4.0.rc1 app/views/spree/admin/shared/_head.html.erb