Sha256: 6e76c7f1db9f21b928a8eae72f46e05527e1b32a2cb5cbdd583ae8f7175bd7ee

Contents?: true

Size: 1.47 KB

Versions: 16

Compression:

Stored size: 1.47 KB

Contents

.panel
  .panel-content
    - url ||= site_path(site)
    = form_for site, :url => url do |f|
      .row
        .col-lg-6
          = f.label :domain
          = f.text_field :domain # , :disabled => params[:action] == 'edit' ? true : false
        .col-lg-6
          = f.label :lang
          = f.text_field :lang # , :disabled => params[:action] == 'edit' ? true : false

      .row
        .col-lg-6
          = f.label :title
          = f.text_field :title
        .col-lg-6
          = f.label :subhead
          = f.text_area :subhead

      .row
        .col-lg-6
          = f.label :homepage_layout
          = f.select :homepage_layout, [ 'show' ]
        .col-lg-6
          = f.label :layout
          = f.select :layout, [ 'application' ]

      .row
        .col-lg-4
          = f.label :n_features
          = f.text_field :n_features
        .col-lg-4
          = f.label :n_newsitems
          = f.text_field :n_newsitems
          %br
          = f.label :newsitems_per_page
          = f.number_field :newsitems_per_page, :default => 10 
        .col-lg-4
          = f.check_box :is_trash
          = f.label :is_trash
          %br
          = f.check_box :is_private
          = f.label :is_private
          %br
          = f.check_box :is_ads_enabled
          = f.label :is_ads_enabled
          %br
          = f.check_box :play_videos_in_preview
          = f.label :play_videos_in_preview
      .row
        .col-lg-12
          = f.submit 'Submit', :class => :btn
      

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ish_manager-0.1.8.133 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.132 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.131 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.129 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.128 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.127 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.126 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.125 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.124 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.123 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.122 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.121 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.120 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.119 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.118 app/views/ish_manager/sites/_form.haml
ish_manager-0.1.8.117 app/views/ish_manager/sites/_form.haml