X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6b631f1e25533233fe8e323c7f6d657a2b1d8718..e80571c22c91061c3fc5f3b6fc164522d05031cb:/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 bd492a354..1ebba0f04 100644 --- a/app/views/user_blocks/new.html.erb +++ b/app/views/user_blocks/new.html.erb @@ -1,10 +1,10 @@ -<% @title = t ".title", :name => h(@user.display_name) %> +<% @title = t ".title", :name => @user.display_name %> <% content_for :heading do %> -

<%= raw t(".heading", - :name => link_to(h(@user.display_name), - user_path(@user))) %>

+

<%= t(".heading_html", + :name => link_to(@user.display_name, + user_path(@user))) %>

<% end %> -<%= form_for(@user_block) do |f| %> +<%= form_for(@user_block, :html => { :class => "standard-form" }) do |f| %> <%= f.error_messages %>