Sha256: 51315015a23be4efeff96300265b28450487bb52e82ce7eb84e8c37d05b08365

Contents?: true

Size: 1.04 KB

Versions: 11

Compression:

Stored size: 1.04 KB

Contents

= form_for video do |f|
  = render 'form_errors', :item => @video
 
  .row
    .col-md-6
      .field
        = f.label :youtube_id
        = f.text_field :youtube_id
      .field
        = f.label :name
        = f.text_field :name
      .field
        = f.label :descr
        = f.text_field :descr
    .col-md-6
      .field
        = f.label :video
        = f.file_field :video
      .field
        = f.label :thumb
        = f.file_field :thumb
      .field
        = f.label :tags
        = f.select :tag_ids, @tags_list, {}, { multiple: true }
      .field
        = f.label :city_id
        = select :video, :city_id, @cities_list
  .row
    .col-sm-3
      = f.label :premium_tier
      = f.number_field :premium_tier
    .col-sm-3
      = f.label :site
      = select :gallery, :site_id, @sites_list
  .row
    .col-sm-4
      = f.check_box :is_public
      = f.label :is_public
    .col-sm-4
      = f.check_box :is_trash
      = f.label :is_trash
    .col-sm-4
      = f.check_box :is_feature
      = f.label :is_feature

  .action
    = f.submit

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ish_manager-0.1.8.224 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.223 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.222 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.221 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.220 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.219 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.218 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.217 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.216 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.215 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.214 app/views/ish_manager/videos/_form.haml