X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..9b19a45e74abd4414bb79d6b992f7bec14390ad6:/app/views/user_blocks/new.html.erb?ds=inline 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 %>