Sha256: 5fb564784fa1ab319fcb00e59c496c3c0b7fb47e2bbb251c693eff3ac391f2ae
Contents?: true
Size: 1.05 KB
Versions: 9
Compression:
Stored size: 1.05 KB
Contents
- videos ||= @videos .videos--index %h5 Videos (#{videos.count}) = link_to '[+]', new_video_path = paginate videos, :param_name => :videos_page, :views_prefix => 'ish_manager' .row - videos.each do |video| .col.s6 .item.panel .panel-content .float-left - if video.youtube_id.present? -## doesn't work with private videos, which are most -# .thumb-youtube= image_tag "https://img.youtube.com/vi/#{video.youtube_id}/1.jpg" = render 'ish_manager/videos/embed_mini', video: video - else .thumb= image_tag video.thumb.url(:thumb) .a = link_to video.name, video_path( video ) .inline= button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' } = link_to '[~]', edit_video_path( video ) = render 'meta', :item => video .c = paginate videos, :param_name => :videos_page, :views_prefix => 'ish_manager' %hr
Version data entries
9 entries across 9 versions & 1 rubygems