]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/new.html.erb
Use _html suffix to avoid using raw when displaying translated strings
[rails.git] / app / views / user_blocks / new.html.erb
index bd492a354b00d38a736330899340cd02c565d329..18b03eda9f0c9ca908b9de35fb47bc0fec00aa34 100644 (file)
@@ -1,8 +1,8 @@
 <% @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 %>