Sha256: 41a0a5cf52556bfc7992d64e74465966fc9addf4a62c034f902e719ac8d57f5c
Contents?: true
Size: 989 Bytes
Versions: 3
Compression:
Stored size: 989 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> <%= stylesheet_link_tag 'admin/all' %> <%= javascript_include_tag 'admin/all' %> <%= javascript_tag do %> Spree.routes = <%== { :product_search => spree.admin_products_path(:format => 'json'), :product_search_basic => spree.admin_products_path(:format => 'json', :json_format => 'basic', :limit => 10), :user_search => spree.admin_search_users_path(:format => 'json', :limit => 10) }.to_json %>; strings = <%== [:no_results, :type_to_search, :searching]. inject({}){|memo, item| {item => t(item) }}.to_json %> <% end %> <%= javascript_tag do -%> jQuery.alerts.dialogClass = 'spree'; <%== "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %> <% end -%> <%= yield :head %>
Version data entries
3 entries across 3 versions & 1 rubygems