X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53817fa9e8d955df0891d156f21b7269b4ed08fc..b8cf4b59e5dab79dfd0fc75ef7d5afe90eebf7ae:/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 %>