X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53817fa9e8d955df0891d156f21b7269b4ed08fc..9b2db63a957a325d16e3989f08c483bd88f1993e:/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 7fef69b57..f9a17d3e6 100644 --- a/app/views/user_blocks/revoke_all.html.erb +++ b/app/views/user_blocks/revoke_all.html.erb @@ -1,10 +1,7 @@ -<% @title = t ".title", - :block_on => @user.display_name %> +<% @title = t ".title", :block_on => @user.display_name %> <% content_for :heading do %> -

<%= t ".heading_html", - :block_on => link_to(@user.display_name, - user_path(@user)) %>

+

<%= t ".heading_html", :block_on => link_to(@user.display_name, @user) %>

<% end %> <% unless @user.blocks.active.empty? %> @@ -19,7 +16,7 @@ - <%= f.primary t(".revoke") %> + <%= f.submit t(".revoke"), :class => "btn btn-danger" %> <% end %> <% else %>