Sha256: 02c406e4c201af8a62da3df400f1b8b6e4c96a3fac18e98a3cc9b02f031d5b10

Contents?: true

Size: 1.12 KB

Versions: 27

Compression:

Stored size: 1.12 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
      = f.select :site_id, @sites_list
    .col-sm-3
      = f.label :user_profile
      = f.select :user_profile_id, @user_profiles_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

27 entries across 27 versions & 1 rubygems

Version Path
ish_manager-0.1.8.231 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.230 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.229 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.228 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.227 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.226 app/views/ish_manager/videos/_form.haml
ish_manager-0.1.8.225 app/views/ish_manager/videos/_form.haml