From 81f7a02d1e18bd94f95607954cf6bae5d7803372 Mon Sep 17 00:00:00 2001 From: CoralineAda Date: Mon, 21 Oct 2024 17:34:21 -0500 Subject: [PATCH] Add a header above theme delete button. --- app/views/themes/show.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/themes/show.html.erb b/app/views/themes/show.html.erb index 12e980a..c818c67 100644 --- a/app/views/themes/show.html.erb +++ b/app/views/themes/show.html.erb @@ -24,6 +24,7 @@ <% end %> <% end %> +

Danger Zone

<%= button_to "Delete This Theme", theme_path(@theme), form: { data: { turbo_confirm: "Are you sure?" } }, method: :delete %> <%= render partial: "/shared/filtering" %>