X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8ebfdbc1ffacee695ca773f3b3c8af02bb41b8c1..c8ddd63280c7d5b4b59659ab650ed0c81866556a:/app/views/friendships/remove_friend.html.erb diff --git a/app/views/friendships/remove_friend.html.erb b/app/views/friendships/remove_friend.html.erb index f87c78223..f5c2b9c0c 100644 --- a/app/views/friendships/remove_friend.html.erb +++ b/app/views/friendships/remove_friend.html.erb @@ -2,9 +2,9 @@

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