<% @title = t ".title", :name => h(@user.display_name) %>
<% content_for :heading do %>
- <h1><%= raw t(".heading",
- :name => link_to(h(@user.display_name),
- user_path(@user))) %></h1>
+ <h1><%= t(".heading_html",
+ :name => link_to(@user.display_name,
+ user_path(@user))) %></h1>
<% end %>
<%= form_for(@user_block) do |f| %>
<%= f.error_messages %>
</p>
<p>
<%= hidden_field_tag "display_name", @user.display_name %>
- <%= f.submit t(".submit") %>
+ <%= f.submit %>
</p>
<% end %>