Sha256: 8d323284bd2d472b42bfba7005ad88ed1f202b38650c87f279275f24aeac1b2e

Contents?: true

Size: 1.17 KB

Versions: 7

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

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-0.40.3 app/views/admin/general_settings/edit.html.erb
spree_core-0.40.2 app/views/admin/general_settings/edit.html.erb
spree_core-0.40.1 app/views/admin/general_settings/edit.html.erb
spree_core-0.40.0 app/views/admin/general_settings/edit.html.erb
spree_core-0.30.1 app/views/admin/general_settings/edit.html.erb
spree_core-0.30.0 app/views/admin/general_settings/edit.html.erb
spree_core-0.30.0.beta1 app/views/admin/general_settings/edit.html.erb