X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/627f2493faa77336e7dcb13abb92dc547ee4db9f..257f4673e1dd86a3704f6a965e5e077283a04a00:/app/views/friendships/make_friend.html.erb?ds=inline diff --git a/app/views/friendships/make_friend.html.erb b/app/views/friendships/make_friend.html.erb index e781f7b25..f5c2b9c0c 100644 --- a/app/views/friendships/make_friend.html.erb +++ b/app/views/friendships/make_friend.html.erb @@ -1,10 +1,10 @@ <% content_for :heading do %> -

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

+

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

<% end %> -<%= form_tag(nil, :class => "standard-form") do %> +<%= bootstrap_form_tag do |f| %> <% if params[:referer] -%> - <%= hidden_field_tag("referer", params[:referer]) %> + <%= f.hidden_field :referer, :value => params[:referer] %> <% end -%> - <%= submit_tag t(".button") %> + <%= f.primary t(".button") %> <% end %>