Sha256: e7e847e62b74eb47567ef299856adba3377e77d766b0d2edf5f1e0e4b35e6994

Contents?: true

Size: 1.34 KB

Versions: 4

Compression:

Stored size: 1.34 KB

Contents

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

<h1><%= t('edit_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("default_seo_title") %></label>
    <%= text_field_tag('preferences[default_seo_title]', Spree::Config[:default_seo_title]) %>
  </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

4 entries across 4 versions & 1 rubygems

Version Path
spree_core-0.60.2 app/views/admin/general_settings/edit.html.erb
spree_core-0.60.1 app/views/admin/general_settings/edit.html.erb
spree_core-0.60.0 app/views/admin/general_settings/edit.html.erb
spree_core-0.60.0.RC1 app/views/admin/general_settings/edit.html.erb