]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/new.html.erb
Send meta information with error pages
[rails.git] / app / views / user_blocks / new.html.erb
index bd492a354b00d38a736330899340cd02c565d329..c2832e348a5792a2f53c5f8beb97142ab0f8151a 100644 (file)
@@ -1,8 +1,8 @@
-<% @title = t ".title", :name => h(@user.display_name) %>
+<% @title = t ".title", :name => @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 %>