X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/561f2f694adc8ac57011eac1eec5929425276c59..2bb59daa37f8ff0807e235bb11e918dfe220284e:/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 %>