X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24b138db094e4b5e8d062c5248ee867967dc0fd7..697e36f364506037efb198f454226ca1eb956bed:/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 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 %>