X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c24c2e481cc6d27e76274ed4e32668a4690a7788..697849f78d66c3da4361848feccc1de2cf8d5f36:/app/views/friendships/make_friend.html.erb diff --git a/app/views/friendships/make_friend.html.erb b/app/views/friendships/make_friend.html.erb index e781f7b25..3dcdd6d64 100644 --- a/app/views/friendships/make_friend.html.erb +++ b/app/views/friendships/make_friend.html.erb @@ -2,9 +2,9 @@

<%= t ".heading", :user => @new_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 %>