X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/573991e5a9997d5ea14e430ae58a40ef0eaecd34..e0b175d3bd3ef655a20273dc2b7f04a8a34bb5f6:/app/views/user/make_friend.html.erb diff --git a/app/views/user/make_friend.html.erb b/app/views/user/make_friend.html.erb index abae0d201..c02de91f0 100644 --- a/app/views/user/make_friend.html.erb +++ b/app/views/user/make_friend.html.erb @@ -1,7 +1,10 @@ -

<%= t "user.make_friend.heading", :user => @new_friend.display_name %>

+<% content_for :heading do %> +

<%= t ".heading", :user => @new_friend.display_name %>

+<% end %> + <%= form_tag do %> <% if params[:referer] -%> <%= hidden_field_tag("referer", params[:referer]) %> <% end -%> - <%= submit_tag t("user.make_friend.button") %> + <%= submit_tag t(".button") %> <% end %>