mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 14:19:39 +02:00
Disable turbo on login forms
This commit is contained in:
parent
28bfcda50a
commit
f7fa8fa085
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
header_description t(".description")
|
||||
%>
|
||||
|
||||
<%= styled_form_with url: verify_mfa_path, method: :post, class: "space-y-4" do |form| %>
|
||||
<%= styled_form_with url: verify_mfa_path, method: :post, class: "space-y-4", data: { turbo: false } do |form| %>
|
||||
<%= form.text_field :code,
|
||||
required: true,
|
||||
autofocus: true,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
header_title t(".title")
|
||||
%>
|
||||
|
||||
<%= styled_form_with url: sessions_path, class: "space-y-4" do |form| %>
|
||||
<%= styled_form_with url: sessions_path, class: "space-y-4", data: { turbo: false } do |form| %>
|
||||
<%= form.email_field :email, label: t(".email"), autofocus: false, autocomplete: "email", required: "required", placeholder: t(".email_placeholder") %>
|
||||
|
||||
<%= form.password_field :password, label: t(".password"), required: "required" %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue