X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3443533ce3836673b0533c8474717a41e7f107fe..606492c3df124092ed119716c5b1cbe922f6b315:/app/views/user_blocks/revoke_all.html.erb?ds=sidebyside diff --git a/app/views/user_blocks/revoke_all.html.erb b/app/views/user_blocks/revoke_all.html.erb index 982792ddd..7fef69b57 100644 --- a/app/views/user_blocks/revoke_all.html.erb +++ b/app/views/user_blocks/revoke_all.html.erb @@ -6,3 +6,22 @@ :block_on => link_to(@user.display_name, user_path(@user)) %> <% end %> + +<% unless @user.blocks.active.empty? %> + + <%= bootstrap_form_for :revoke_all, :url => { :action => "revoke_all" } do |f| %> +
<%= t ".empty", :name => @user.display_name %>
+<% end %>