Sha256: 1ea074f48424183a0b195d48164df2818c11988536e630eaa4609f13fbe2055c
Contents?: true
Size: 936 Bytes
Versions: 61
Compression:
Stored size: 936 Bytes
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 ) = render 'meta_edit', item: video = render 'meta', item: video .c = paginate videos, :param_name => :videos_page, :views_prefix => 'ish_manager' %hr
Version data entries
61 entries across 61 versions & 1 rubygems