about summary refs log tree commit diff stats
path: root/app/views/admin/streams/index.html.haml
blob: a2a25d73754e539e502aa3da8fab79d56aae7451 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- title "Streams"
%table#entries
  %tr
    %th Title
    %th Date created
    %th
  - @streams.each do |stream|
    %tr{ class: cycle("even", "odd") }
      %td= stream.title
      %td= stream.created_at.strftime("%B %d, %Y, %l:%M%P")
      %td
        %ul.admin-actions
          %li= link_to "Edit", edit_admin_stream_url(stream.id)
          %li= link_to "Add Update", new_admin_stream_update_url(stream.id)