Sha256: 2829d5f625dfd67ad8a72fb162497f7830fb018e7c9aeed4d65db8e5a987f7db

Contents?: true

Size: 1017 Bytes

Versions: 2

Compression:

Stored size: 1017 Bytes

Contents

<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title><%= "Spree #{t('administration')}: " %>
<%= t(controller.controller_name, :default => controller.controller_name.titleize) %></title>
<%= javascript_tag do %>
  ajax_urls = <%== {
    :product_search_json       => spree.admin_products_path(:format => 'json'),
    :product_search_basic_json => spree.admin_products_path(:format => 'json', :json_format => 'basic', :limit => 10),
    :user_search_basic_json    => spree.admin_users_path(:format => 'json', :json_format => 'basic', :limit => 10)
  }.to_json %>;

  strings = <%==
    [:no_results, :type_to_search, :searching].
    inject({}){|memo, item| {item => t(item) }}.to_json
  %>
<% end %>

<%= stylesheet_link_tag 'admin/all' %>
<%= javascript_include_tag 'admin/all' %>
<%= javascript_tag do -%>
  jQuery.alerts.dialogClass = 'spree';
  <%== "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %>
<% end -%>

<%= yield :head %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-1.1.2.rc1 app/views/spree/admin/shared/_head.html.erb
spree_core-1.1.1 app/views/spree/admin/shared/_head.html.erb