about summary refs log tree commit diff stats
path: root/app/views/admin
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 13:02:27 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 13:02:27 -0400
commitdd9b9ac1c2f032e02757e7e4fa4aa588234933d4 (patch)
treebd0b69a6d8b2a196a9d771e8a03e91b6e88ff87f /app/views/admin
parent250ef8b5d4f6cb457c4976528f72f6ea7bf5f6cc (diff)
downloadthoughts-dd9b9ac1c2f032e02757e7e4fa4aa588234933d4.tar.gz
thoughts-dd9b9ac1c2f032e02757e7e4fa4aa588234933d4.tar.bz2
thoughts-dd9b9ac1c2f032e02757e7e4fa4aa588234933d4.zip
Admin comment page pagination
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/comments/index.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin/comments/index.html.haml b/app/views/admin/comments/index.html.haml index 7b25c05..8cfa0bb 100644 --- a/app/views/admin/comments/index.html.haml +++ b/app/views/admin/comments/index.html.haml
@@ -1,4 +1,5 @@
1- title "Comments" 1- title "Comments"
2= will_paginate @comments
2%table#entries 3%table#entries
3 %tr 4 %tr
4 %th Text 5 %th Text
@@ -21,3 +22,4 @@
21 %ul.admin-actions 22 %ul.admin-actions
22 %li= link_to "View", blog_url(comment.blog, anchor: "comment-#{comment.id}") 23 %li= link_to "View", blog_url(comment.blog, anchor: "comment-#{comment.id}")
23 %li= link_to "Delete", admin_comment_url(comment), method: :delete, data: { confirm: "Are you sure?" } 24 %li= link_to "Delete", admin_comment_url(comment), method: :delete, data: { confirm: "Are you sure?" }
25= will_paginate @comments