X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bc9c492c48cca7dc44a2906e9d63ab1a7ed6a42c..9ee3df33bd577c65f08db5f68d301f7e8f34298c:/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 %>