about summary refs log tree commit diff stats
path: root/app/views/admin/streams/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/streams/index.html.haml')
-rw-r--r--app/views/admin/streams/index.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/admin/streams/index.html.haml b/app/views/admin/streams/index.html.haml new file mode 100644 index 0000000..c69c6f9 --- /dev/null +++ b/app/views/admin/streams/index.html.haml
@@ -0,0 +1,13 @@
1%table#entries
2 %tr
3 %th Title
4 %th Date created
5 %th
6 - @streams.each do |stream|
7 %tr{ class: cycle("even", "odd") }
8 %td= stream.title
9 %td= stream.created_at.strftime("%B %d, %Y, %l:%M%P")
10 %td
11 %ul.admin-actions
12 %li= link_to "Edit", edit_admin_stream_url(stream)
13 %li= link_to "Add Update", new_admin_stream_update_url(stream)