From fce3d7c587cf57c291f70f1e09b8aa0e261bd54a Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 17 Oct 2023 21:48:49 +0200 Subject: [PATCH] Disable Turbo on registration form --- app/views/devise/registrations/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/devise/registrations/new.html.haml b/app/views/devise/registrations/new.html.haml index 698e63b9..d0fa29d6 100644 --- a/app/views/devise/registrations/new.html.haml +++ b/app/views/devise/registrations/new.html.haml @@ -5,7 +5,7 @@ .card.mt-3 .card-body %h1= t(".title") - = bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| + = bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name), data: { turbo: false }) do |f| = render "devise/shared/error_messages", resource: resource = render "layouts/messages"