-<% @title = t ".title",
- :block_on => @user.display_name %>
+<% @title = t ".title", :block_on => @user.display_name %>
<% content_for :heading do %>
- <h1><%= t ".heading_html",
- :block_on => link_to(@user.display_name,
- user_path(@user)) %></h1>
+ <h1><%= t ".heading_html", :block_on => link_to(@user.display_name, @user) %></h1>
<% end %>
<% unless @user.blocks.active.empty? %>
</div>
</div>
- <%= f.primary t(".revoke") %>
+ <%= f.submit t(".revoke"), :class => "btn btn-danger" %>
<% end %>
<% else %>