]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/new.html.erb
Merge remote-tracking branch 'jfirebaugh/legacy-params'
[rails.git] / app / views / user_blocks / new.html.erb
index f63298373ae2177e1e9915a0bc0e771b83b96448..9ea63f885cb4c49ef3b818c7d29db782a994e8af 100644 (file)
@@ -1,9 +1,10 @@
 <% @title = t 'user_block.new.title', :name => h(@this_user.display_name) %>
-<h1><%= raw t('user_block.new.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.new.heading',
+                :name => link_to(
+                                 h(@this_user.display_name),
+                                 {:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %></h1>
+<% end %>
 <%= form_for(@user_block) do |f| %>
   <%= f.error_messages %>