From 20f2479b33bc548c4736cdc1ceffde6e3af3a31d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 21 Oct 2023 22:52:41 -0400 Subject: Added quote editing --- app/views/admin/quotes/pending.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/admin/quotes/pending.html.haml') 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 @@ %td= quote.created_at.strftime("%B %d, %Y, %l:%M%P") %td %ul.admin-actions + %li= link_to "Edit", edit_admin_quote_url(quote) %li= link_to "Accept", accept_admin_quote_url(quote), method: :post, data: { confirm: "Are you sure you want to accept this quote?" } %li= link_to "Reject", admin_quote_url(quote), method: :delete, data: { confirm: "Are you sure you want to reject this quote?" } = will_paginate @quotes -- cgit 1.4.1