X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2fcee9625dcd192d0c524f27d9cb182c883e31b4..eb0f95b6aeec77058395975d7e9b0aba076d71c1:/app/views/user_blocks/revoke.html.erb
diff --git a/app/views/user_blocks/revoke.html.erb b/app/views/user_blocks/revoke.html.erb
index eb1cc4cbe..224e1e4bb 100644
--- a/app/views/user_blocks/revoke.html.erb
+++ b/app/views/user_blocks/revoke.html.erb
@@ -4,10 +4,8 @@
<% content_for :heading do %>
<%= t(".heading_html",
- :block_on => link_to(@user_block.user.display_name,
- user_path(@user_block.user)),
- :block_by => link_to(@user_block.creator.display_name,
- user_path(@user_block.creator))) %>
+ :block_on => link_to(@user_block.user.display_name, @user_block.user),
+ :block_by => link_to(@user_block.creator.display_name, @user_block.creator)) %>
<% end %>
<% if @user_block.ends_at > Time.now %>
@@ -23,7 +21,7 @@
- <%= f.primary t(".revoke") %>
+ <%= f.submit t(".revoke"), :class => "btn btn-danger" %>
<% end %>
<% else %>