From 2a9888a6429f9732375a2e6a784b3e6334e10294 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 2 Apr 2024 18:35:18 +0300 Subject: [PATCH] Change revoke block buttons to danger style Because revoke buttons on block show pages are also danger buttons. --- app/views/user_blocks/revoke.html.erb | 2 +- app/views/user_blocks/revoke_all.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/user_blocks/revoke.html.erb b/app/views/user_blocks/revoke.html.erb index 6bf87c4c3..224e1e4bb 100644 --- a/app/views/user_blocks/revoke.html.erb +++ b/app/views/user_blocks/revoke.html.erb @@ -21,7 +21,7 @@ - <%= f.primary t(".revoke") %> + <%= f.submit t(".revoke"), :class => "btn btn-danger" %> <% end %> <% else %> diff --git a/app/views/user_blocks/revoke_all.html.erb b/app/views/user_blocks/revoke_all.html.erb index 75a425d70..f9a17d3e6 100644 --- a/app/views/user_blocks/revoke_all.html.erb +++ b/app/views/user_blocks/revoke_all.html.erb @@ -16,7 +16,7 @@ - <%= f.primary t(".revoke") %> + <%= f.submit t(".revoke"), :class => "btn btn-danger" %> <% end %> <% else %> -- 2.39.5