]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/blocks_by.html.erb
Merge pull request #24 from zerebubuth/routing-merge
[rails.git] / app / views / user_blocks / blocks_by.html.erb
index c9158536b9708836d2017407218f8ad45fd45f2a..a8d761288406adf1868850074a704d1f8a3e7ca5 100644 (file)
@@ -1,5 +1,7 @@
 <% @title = t('user_block.blocks_by.title', :name => h(@this_user.display_name)) %>
-<h1><%= t('user_block.blocks_by.heading', :name => link_to(h(@this_user.display_name), {:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %></h1>
+<% content_for :heading do %>
+  <h1><%= raw(t('user_block.blocks_by.heading', :name => link_to(h(@this_user.display_name), {:controller => 'user', :action => 'view', :display_name => @this_user.display_name}))) %></h1>
+<% end %>
 
 <% unless @user_blocks.empty? %>
 <%= render :partial => 'blocks', :locals => { :show_revoke_link => (@user and @user.moderator?), :show_user_name => true, :show_creator_name => false } %>