Sha256: c381c8441ef3312090bf4766cd858795131a8e2a0a8dd90250841cd21353139c
Contents?: true
Size: 888 Bytes
Versions: 1
Compression:
Stored size: 888 Bytes
Contents
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <h1><%= t(:edit_general_settings) %></h1> <%= form_tag admin_general_settings_path, :method => :put do %> <fieldset id="preferences" data-hook> <% @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 %> <p> <%= label_tag :currency, t(:currency) %> <%= select_tag :currency, currency_options %> </p> </fieldset> <p class="form-buttons" data-hook="buttons"> <%= button t(:update) %> <%= t(:or) %> <%= link_to t(:cancel), admin_general_settings_url %> </p> <% end %> <script> $('#currency').select2(); </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_core-1.2.0 | app/views/spree/admin/general_settings/edit.html.erb |