diff --git a/app/views/devise/confirmations/new.haml b/app/views/devise/confirmations/new.haml index df41170a..a3d2e34c 100644 --- a/app/views/devise/confirmations/new.haml +++ b/app/views/devise/confirmations/new.haml @@ -5,7 +5,7 @@ .card.mt-3 .card-body %h1 Resend confirmation instructions - = bootstrap_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| + = bootstrap_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }, data: { turbo: false }) do |f| = render 'devise/shared/error_messages', resource: resource = f.text_field :screen_name, autofocus: true, label: 'User name' diff --git a/app/views/devise/passwords/edit.haml b/app/views/devise/passwords/edit.haml index 9bbebfba..e1cdfbed 100644 --- a/app/views/devise/passwords/edit.haml +++ b/app/views/devise/passwords/edit.haml @@ -5,7 +5,7 @@ .card.mt-3 .card-body %h1 Change your password - = bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| + = bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }, data: { turbo: false }) do |f| = render 'devise/shared/error_messages', resource: resource = f.hidden_field :reset_password_token diff --git a/app/views/devise/passwords/new.haml b/app/views/devise/passwords/new.haml index 32ce5335..13ca7e11 100644 --- a/app/views/devise/passwords/new.haml +++ b/app/views/devise/passwords/new.haml @@ -5,7 +5,7 @@ .card.mt-3 .card-body %h1 Forgot your password? - = bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| + = bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }, data: { turbo: false }) do |f| = render 'devise/shared/error_messages', resource: resource = f.email_field :email, autofocus: true, label: 'Email address' diff --git a/app/views/devise/registrations/new.haml b/app/views/devise/registrations/new.haml index 698e63b9..d0fa29d6 100644 --- a/app/views/devise/registrations/new.haml +++ b/app/views/devise/registrations/new.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" diff --git a/app/views/devise/sessions/new.haml b/app/views/devise/sessions/new.haml index 09e82bc5..a5cf3639 100644 --- a/app/views/devise/sessions/new.haml +++ b/app/views/devise/sessions/new.haml @@ -6,7 +6,7 @@ .card.mt-3 .card-body %h1.mb-3.mt-0= t(".title") - = bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| + = bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name), data: { turbo: false }) do |f| = f.text_field :login, autofocus: true, autocomplete: :username = f.password_field :password, autocomplete: "current-password" diff --git a/app/views/devise/unlocks/new.haml b/app/views/devise/unlocks/new.haml index d4371be6..e5f2bf50 100644 --- a/app/views/devise/unlocks/new.haml +++ b/app/views/devise/unlocks/new.haml @@ -3,7 +3,7 @@ %h1 Resend unlock instructions = render 'layouts/messages' - = bootstrap_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| + = bootstrap_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }, data: { turbo: false }) do |f| = render 'devise/shared/error_messages', resource: resource = f.email_field :email, autofocus: true, label: 'Email address'