X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..621cb8a1effa92f6a9df1c387d035b22e16c7941:/app/views/user_blocks/new.html.erb diff --git a/app/views/user_blocks/new.html.erb b/app/views/user_blocks/new.html.erb index f63298373..9ea63f885 100644 --- a/app/views/user_blocks/new.html.erb +++ b/app/views/user_blocks/new.html.erb @@ -1,9 +1,10 @@ <% @title = t 'user_block.new.title', :name => h(@this_user.display_name) %> -

<%= raw t('user_block.new.heading', - :name => link_to( - h(@this_user.display_name), - {:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %>

- +<% content_for :heading do %> +

<%= raw t('user_block.new.heading', + :name => link_to( + h(@this_user.display_name), + {:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %>

+<% end %> <%= form_for(@user_block) do |f| %> <%= f.error_messages %>