<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<%= t(:edit_general_settings) %>

<%= form_tag admin_general_settings_path, :method => :put do %>
<% @preferences.each do |key| type = Spree::Config.preference_type(key) %> <%= label_tag(key, t(key) + ': ') + tag(:br) if type != :boolean %> <%= preference_field_tag(key, Spree::Config[key], :type => type) %> <%= label_tag(key, t(key)) + tag(:br) if type == :boolean %> <% end %>

<%= label_tag :currency, t(:currency) %> <%= select_tag :currency, currency_options %>

<%= button t(:update) %> <%= t(:or) %> <%= link_to t(:cancel), admin_general_settings_url %>

<% end %>