From: Anton Khorev Date: Tue, 2 Apr 2024 15:35:18 +0000 (+0300) Subject: Change revoke block buttons to danger style X-Git-Tag: live~675^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2a9888a6429f9732375a2e6a784b3e6334e10294 Change revoke block buttons to danger style Because revoke buttons on block show pages are also danger buttons. --- 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 %>