X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bd7c279604469e0ef22ed8148603befa469d9c2b..78b9d92207bb215459ecff466c3efe2fa6466ab3:/app/views/users/logout.html.erb diff --git a/app/views/users/logout.html.erb b/app/views/users/logout.html.erb index 5d8e2de49..3ae4d14f6 100644 --- a/app/views/users/logout.html.erb +++ b/app/views/users/logout.html.erb @@ -2,7 +2,7 @@

<%= t ".heading" %>

<% end %> -<%= form_tag :action => "logout" do %> - <%= hidden_field_tag("referer", h(params[:referer])) %> - <%= submit_tag t(".logout_button") %> +<%= bootstrap_form_tag do |f| %> + <%= f.hidden_field :referer, :value => params[:referer] %> + <%= f.primary t(".logout_button") %> <% end %>