Sha256: e9edc66ac2b477e5fd6e3ac705d16a7df8e5cf98f362dc4c9a760e414cb7f4a6

Contents?: true

Size: 872 Bytes

Versions: 6

Compression:

Stored size: 872 Bytes

Contents

- video ||= @video

.videos-show.max-width
  .row
    = link_to '[Back]', videos_path

  - if video.youtube_id.present?
    %iframe{:allowfullscreen => "", :frameborder => "0", :height => "315", :src => "//www.youtube.com/embed/#{video.youtube_id}", :width => "560"}
  - else
    %iframe{:allowfullscreen => "true", :frameborder => "0", :height => "480", :src => "#{video.video.url}", :width => "640"}

  .my-row
    .a= image_tag video.thumb.url(:thumb)
    .a
      %h3
        = video.name.blank? ? t('videos.no_title') : video.name
        .meta-edit
          .inline= button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' }
          = link_to '[~]', edit_video_path( video )

      = render 'wco/application/metaline', :item => video
  .flex-row
    Download File: #{link_to video.video_file_name, video.video.url}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wco_models-3.1.0.50 app/views/wco/videos/show.haml
wco_models-3.1.0.49 app/views/wco/videos/show.haml
wco_models-3.1.0.48 app/views/wco/videos/show.haml
wco_models-3.1.0.47 app/views/wco/videos/show.haml
wco_models-3.1.0.46 app/views/wco/videos/show.haml
wco_models-3.1.0.45 app/views/wco/videos/show.haml