Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 38 lines (33 sloc) 1.223 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
- body_classes << "reversed"
- @selected = :general

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

  - main.edit_form do
    - form_for :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
            - Radiant.detail.site_settings.each do |site_setting|
              %p
                = edit_config site_setting

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

        - form.edit_users do
          %fieldset
            %h3 Passwords
            - Radiant.detail.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
Something went wrong with that request. Please try again.