X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..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 aa4bf7132..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 %>

@@ -21,7 +21,7 @@

<%= hidden_field_tag "display_name", @user.display_name %> - <%= f.submit t(".submit") %> + <%= f.submit %>

<% end %>