From 0554dccba7e5a8936639a7cc9c7334970f1b35ad Mon Sep 17 00:00:00 2001 From: davidgisbey Date: Wed, 22 Mar 2023 16:30:05 +0000 Subject: [PATCH] Make delete attachment link text red This makes it consistent with the rest of the application. --- app/views/admin/attachments/_attachments.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/attachments/_attachments.html.erb b/app/views/admin/attachments/_attachments.html.erb index 793a1ae044..b52a421ee0 100644 --- a/app/views/admin/attachments/_attachments.html.erb +++ b/app/views/admin/attachments/_attachments.html.erb @@ -31,7 +31,7 @@ text: link_to('Edit', [:edit, :admin, typecast_for_attachable_routing(attachable), attachment.becomes(Attachment)], class: "govuk-link govuk-link--no-visited-state") }, { - text: link_to("Delete", [:confirm_destroy, :admin, typecast_for_attachable_routing(attachable), attachment.becomes(Attachment)], class: "govuk-link govuk-link--no-visited-state") + text: link_to("Delete", [:confirm_destroy, :admin, typecast_for_attachable_routing(attachable), attachment.becomes(Attachment)], class: "govuk-link govuk-link--no-visited-state gem-link--destructive") } ] end