Sha256: af120e788b27ed18a03a55a5cde389cf432e7a5d39362c574ee9f7134b1b7f44

Contents?: true

Size: 1.33 KB

Versions: 16

Compression:

Stored size: 1.33 KB

Contents

<%= render partial: 'settings_menu' %>
<% url = @account.new_record? ? dm_core.admin_account_create_path : dm_core.admin_account_general_path %>
<%= simple_form_for(@account, url: url, 
  html: { class: 'form-horizontal' }, wrapper: :bs3_horizontal_form, wrapper_mappings: DmAdmin::FormWrapperMappings) do |f| %>
  <%= f.error_notification message: "Please review the problems below" %>

  <%= panel title: 'General Settings' do %>

    <%= f.input :domain, required: true, hint: "Do not include 'www', 'staging', or 'dev' - they are handled automatically" %>
    <%= f.input :account_prefix, label: 'Site prefix', required: true %>
    <%= f.input :company_name %>
    <%= f.input :contact_email %>
    <%= f.input :preferred_default_locale, required: true, label: 'Default Locale'%>  
    <%= f.input :preferred_locales, required: true, label: 'Supported Locales', hint: "Comma seperated. Ex: 'en, de'" %>  
    <%= f.input :preferred_ssl_enabled, as: :boolean, label: 'Enable SSL?' %>
    <%= f.input :preferred_site_enabled, as: :boolean, label: 'Publish Site?' %>
    <%= f.input :preferred_site_maintenance, as: :boolean, label: 'Site Maintenance', hint: 'Put the site into maintenance mode:  normal users will see the maintenance page.  Admin users will be able to access the site.' %>

    <%= submit_or_cancel cancel_url: url %>

  <% end %>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_core-4.2.3.10 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.9 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.8 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.7 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.6 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.5 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.4 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.3 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.2 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3.1 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.3 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.2.3 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.2.2 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.2.1 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.2 app/views/dm_core/admin/accounts/general.html.erb
dm_core-4.2.1.5 app/views/dm_core/admin/accounts/general.html.erb