X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97ff32f5286bf9477829cbfb05f0f26dde128380..9b19a45e74abd4414bb79d6b992f7bec14390ad6:/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 %>