<%= 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 %>

<%= t(:currency_symbol_position) %>
<%= radio_button_tag :currency_symbol_position, "before" %> <%= label_tag :currency_symbol_position_before, Spree::Money.new(10, :symbol_position => "before") %>
<%= radio_button_tag :currency_symbol_position, "after" %> <%= label_tag :currency_symbol_position_after, Spree::Money.new(10, :symbol_position => "after") %>

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

<% end %>