Sha256: 5f137ab23fd262741616f144cb9e1c954da3d43cf6ba75a05d6822de12865588

Contents?: true

Size: 1.48 KB

Versions: 47

Compression:

Stored size: 1.48 KB

Contents

= render_region :form_top
.form-area
  - render_region :form do |form|

    - form.edit_name do
      %fieldset.title
        %h4
          %i.fas.fa-sitemap
          Site Information
        %label{:for => 'site_name'} Site title
        = f.text_field :name, :class => 'textbox', :size => 50
        %br
        %label{:for => 'site_subtitle'} and subtitle
        = f.text_field :subtitle, :class => 'textbox'

    - form.edit_domain do
      %fieldset.domain
        %h4
          %i.fas.fa-lightbulb
          Domain Information
        %label{:for => 'site_domain'}
          Domain pattern
        = f.text_field :domain, :class => 'textbox', :size => 50
        %br
        %label{:for => 'site_base_domain'}
          Base domain name
        = f.text_field :base_domain, :class => 'textbox', :size => 50

    - form.edit_homepage do
      %fieldset.homepage
        %h4
          %i.fas.fa-home
          Homepage ID
        %label{:for => 'site_homepage_id'} Homepage ID
        = f.text_field :homepage_id, :class => 'textbox'

  %p.formnote
    - if f.object.new_record?
      A new homepage will be created automatically if none is specified.
    - else
      If you change the site homepage ID, be sure it is to a page with no parents.

  - render_region :form_bottom do |form_bottom|
    - form_bottom.edit_timestamp do
      = updated_stamp @site
      - form_bottom.edit_buttons do
        .buttons
          = save_model_button(@site)
          or
          = link_to 'cancel', admin_sites_path

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 app/views/admin/sites/_form.haml
trusty-cms-7.0.2 app/views/admin/sites/_form.haml
trusty-cms-7.0.1 app/views/admin/sites/_form.haml
trusty-cms-7.0.0 app/views/admin/sites/_form.haml
trusty-cms-6.3 app/views/admin/sites/_form.haml
trusty-cms-6.2.1 app/views/admin/sites/_form.haml
trusty-cms-6.2.2.1 app/views/admin/sites/_form.haml
trusty-cms-6.2.0 app/views/admin/sites/_form.haml
trusty-cms-6.1.2 app/views/admin/sites/_form.haml
trusty-cms-6.1.1 app/views/admin/sites/_form.haml
trusty-cms-6.0.5 app/views/admin/sites/_form.haml
trusty-cms-6.0.4 app/views/admin/sites/_form.haml
trusty-cms-6.0.3 app/views/admin/sites/_form.haml
trusty-cms-6.0.2 app/views/admin/sites/_form.haml
trusty-cms-6.0.1 app/views/admin/sites/_form.haml
trusty-cms-5.6.1 app/views/admin/sites/_form.haml
trusty-cms-6.0.0 app/views/admin/sites/_form.haml
trusty-cms-5.6.0 app/views/admin/sites/_form.haml
trusty-cms-5.5.9 app/views/admin/sites/_form.haml
trusty-cms-5.5.8 app/views/admin/sites/_form.haml