Sha256: a418312b57327a8aadf7cd25afda0b782cb66620539e725c73ddecb0528be809

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

- body_classes << "reversed"
- @selected = :general

- render_region :main do |main|
  - main.edit_header do
    %h1 Configuration

  - main.edit_form do
    = form_for :trusty_config, :url => admin_configuration_url, :html => {"data-onsubmit_status"=>"Saving changes&#8230;", :method => :put} do |f|
      = render_region :form_top
      - render_region :form do |form|
        - form.edit_site do
          %fieldset
            %h3 Site
            - TrustyCms.config.site_settings.each do |site_setting|
              %p
                = edit_config site_setting

        - form.edit_defaults do
          %fieldset
            %h3 Defaults
            - TrustyCms.config.default_settings.each do |default_setting|
              %p
                = edit_config default_setting

        - form.edit_users do
          %fieldset
            %h3 Passwords
            - TrustyCms.config.user_settings.each do |user_setting|
              %p
                = edit_config user_setting

      - render_region :form_bottom do |form_bottom|
        - form_bottom.edit_buttons do
          .buttons
            %input.button{:type=>"submit", :value=>"Save Changes"}/
            or
            = link_to "Cancel", admin_configuration_url, class: 'alt'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trusty-cms-2.0.14 app/views/admin/configuration/edit.html.haml
trusty-cms-2.0.13 app/views/admin/configuration/edit.html.haml
trusty-cms-2.0.12 app/views/admin/configuration/edit.html.haml
trusty-cms-2.0.11 app/views/admin/configuration/edit.html.haml