Sha256: 0d9c20758e4d606def2be014e24cb7c33f357a2aec8151396ec17077d340af7c

Contents?: true

Size: 1.05 KB

Versions: 10

Compression:

Stored size: 1.05 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 :tag_id
        = select :video, :tag_id, @tags_list, :selected => params[:tag_id]

      .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

10 entries across 10 versions & 1 rubygems

Version Path
ish_manager-0.1.8.213 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.212 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.211 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.210 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.209 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.208 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.207 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.206 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.205 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.204 app/views/ish_manager/videos/_form.haml