about summary refs log tree commit diff stats
path: root/app/views/admin/quotes/pending.html.haml
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-21 22:52:41 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-21 22:52:41 -0400
commit20f2479b33bc548c4736cdc1ceffde6e3af3a31d (patch)
treefcc7416ee5cc9302235fb47b716298d254343433 /app/views/admin/quotes/pending.html.haml
parent41155441c9412ab0dba0b62f606cdef5488343f1 (diff)
downloadthoughts-20f2479b33bc548c4736cdc1ceffde6e3af3a31d.tar.gz
thoughts-20f2479b33bc548c4736cdc1ceffde6e3af3a31d.tar.bz2
thoughts-20f2479b33bc548c4736cdc1ceffde6e3af3a31d.zip
Added quote editing
Diffstat (limited to 'app/views/admin/quotes/pending.html.haml')
-rw-r--r--app/views/admin/quotes/pending.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/admin/quotes/pending.html.haml b/app/views/admin/quotes/pending.html.haml index 14d6cf8..ef52099 100644 --- a/app/views/admin/quotes/pending.html.haml +++ b/app/views/admin/quotes/pending.html.haml
@@ -15,6 +15,7 @@
15 %td= quote.created_at.strftime("%B %d, %Y, %l:%M%P") 15 %td= quote.created_at.strftime("%B %d, %Y, %l:%M%P")
16 %td 16 %td
17 %ul.admin-actions 17 %ul.admin-actions
18 %li= link_to "Edit", edit_admin_quote_url(quote)
18 %li= link_to "Accept", accept_admin_quote_url(quote), method: :post, data: { confirm: "Are you sure you want to accept this quote?" } 19 %li= link_to "Accept", accept_admin_quote_url(quote), method: :post, data: { confirm: "Are you sure you want to accept this quote?" }
19 %li= link_to "Reject", admin_quote_url(quote), method: :delete, data: { confirm: "Are you sure you want to reject this quote?" } 20 %li= link_to "Reject", admin_quote_url(quote), method: :delete, data: { confirm: "Are you sure you want to reject this quote?" }
20= will_paginate @quotes 21= will_paginate @quotes