X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2fcee9625dcd192d0c524f27d9cb182c883e31b4..4965c19b7a8c96ab87b543af1fc36a1ad7514c09:/app/views/user_blocks/revoke.html.erb?ds=sidebyside
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 %>