Sha256: 599f71077e82a65f3bea14dc302cd8a7b1e55e9eeb7929d775d79410fb9c6083

Contents?: true

Size: 702 Bytes

Versions: 3

Compression:

Stored size: 702 Bytes

Contents

- videos ||= @videos
- videos = videos.page params[:videos_page]

.row
  .col-sm-12
    %h2
      Videos (#{videos.count})
      = link_to '[+]', new_video_path

    = paginate videos, :param_name => :videos_page
    %ol
      - videos.each do |video|
        %li
          = button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' }
          = link_to '[~]', edit_video_path( video )
          = link_to video.name, video_path( video )
          = render 'meta', :item => video
          -# = render 'embed', :video => video
          = image_tag "https://img.youtube.com/vi/#{video.youtube_id}/0.jpg"
    = paginate videos, :param_name => :videos_page
%hr

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ish_manager-0.1.8.50 app/views/ish_manager/videos/_index.haml
ish_manager-0.1.8.49 app/views/ish_manager/videos/_index.haml
ish_manager-0.1.8.47 app/views/ish_manager/videos/_index.haml