X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..3238bf567c5c8a0e807343588b8f38f86d65c1cd:/app/views/user_blocks/new.html.erb?ds=sidebyside 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 %>