X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/293fe68eff1923a00992e0a195ba025ab7bd9efa..c5c344b12c6b538cce39b372079b051a6071c5b0:/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 c02de91f0..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 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 %>