<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= Spree.t(:general_settings) %> <% end %> <%= form_tag admin_general_settings_path, method: :put do %>
<%= fields_for :store do |f| %>
<%= f.label :name %>
<%= f.text_field :name, class: 'fullwidth' %>
<%= f.label :seo_title %>
<%= f.text_field :seo_title, class: 'fullwidth' %>
<%= f.label :meta_keywords %>
<%= f.text_field :meta_keywords, class: 'fullwidth' %>
<%= f.label :meta_description %>
<%= f.text_field :meta_description, class: 'fullwidth' %>
<%= f.label :url %>
<%= f.text_field :url, class: 'fullwidth' %>
<%= f.label :mail_from_address %>
<%= f.text_field :mail_from_address, class: 'fullwidth' %>
<% end %> <% if can? :clear_cache, :general_settings %>
<%= Spree.t(:clear_cache)%>
<%= Spree.t(:clear_cache_warning) %>
<%= button Spree.t(:clear_cache), '', 'button', id: "clear_cache" %>
<% end %> <% if can? :update, :general_settings %>
<%= button Spree.t('actions.update'), 'refresh' %> <%= Spree.t(:or) %> <%= link_to_with_icon 'remove', Spree.t('actions.cancel'), edit_admin_general_settings_url, :class => 'button' %>
<% end %>
<% end %>