about summary refs log tree commit diff stats
path: root/app/views/admin/streams/index.html.haml
blob: c69c6f9f857e2e0d1946dbf15d1547950fc416cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
%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)
          %li= link_to "Add Update", new_admin_stream_update_url(stream)