Sha256: 5ffbe9f2feceb85a5b7a88df313ab3ef3550968b129c5057719ac7c2f4284513

Contents?: true

Size: 1.17 KB

Versions: 13

Compression:

Stored size: 1.17 KB

Contents

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

<h1><%= t('general_settings') %></h1>

<% form_tag(admin_general_settings_path, :method => :put) do -%>

  <p>
	<label><%= t("site_name") %></label>
	<%= text_field_tag('preferences[site_name]', Spree::Config[:site_name]) %>
  </p>
  <p>
	<label><%= t('site_url') %></label>
	<%= text_field_tag('preferences[site_url]', Spree::Config[:site_url])%>
  </p>	
  <p>
    <label>
	  <input name="preferences[allow_ssl_in_production]" type="hidden" value="0" />
      <%= check_box_tag('preferences[allow_ssl_in_production]', "1", Spree::Config[:allow_ssl_in_production]) %>
      <%= t('allow_ssl_to_be_used_when_in_production_mode') %>
    </label>
  </p>

  <p>
    <label>
	  <input name="preferences[allow_ssl_in_development_and_test]" type="hidden" value="0" />	
      <%= check_box_tag('preferences[allow_ssl_in_development_and_test]', "1", Spree::Config[:allow_ssl_in_development_and_test]) %>
      <%= t('allow_ssl_to_be_used_when_in_developement_and_test_modes') %>
    </label>
  </p>

  <p class="form-buttons">
    <%= button t('update') %> 
    <%= t("or") %> <%= link_to t("cancel"), admin_general_settings_url %>
  </p>
<% end -%>

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
spree-0.11.2 vendor/extensions/theme_default/app/views/admin/general_settings/edit.html.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/admin/general_settings/edit.html.erb
spree-0.11.0 vendor/extensions/theme_default/app/views/admin/general_settings/edit.html.erb
spree-0.10.2 vendor/extensions/theme_default/app/views/admin/general_settings/edit.html.erb
spree-0.10.1 vendor/extensions/theme_default/app/views/admin/general_settings/edit.html.erb
spree-0.10.0 vendor/extensions/theme_default/app/views/admin/general_settings/edit.html.erb
spree-0.10.0.beta vendor/extensions/theme_default/app/views/admin/general_settings/edit.html.erb
spree-enriquez-0.9.4 app/views/admin/general_settings/edit.html.erb
spree-0.9.4 app/views/admin/general_settings/edit.html.erb
spree-0.9.3 app/views/admin/general_settings/edit.html.erb
spree-0.9.2 app/views/admin/general_settings/edit.html.erb
spree-0.9.1 app/views/admin/general_settings/edit.html.erb
spree-0.9.0 app/views/admin/general_settings/edit.html.erb