Merge pull request #1390 from Retrospring/bugfix/no-nitro-for-registration

Disable Turbo on registration form
This commit is contained in:
Karina Kwiatek 2023-10-17 21:50:52 +02:00 committed by GitHub
commit 55d94c7900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
.card.mt-3 .card.mt-3
.card-body .card-body
%h1= t(".title") %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 "devise/shared/error_messages", resource: resource
= render "layouts/messages" = render "layouts/messages"