diff --git a/app/views/settings/_account.haml b/app/views/settings/_account.haml index 29e578d8..d914f2fe 100644 --- a/app/views/settings/_account.haml +++ b/app/views/settings/_account.haml @@ -1,6 +1,6 @@ .card .card-body - = bootstrap_form_for(resource, as: resource_name, url: "/settings/account", html: { method: :put }) do |f| + = bootstrap_form_for(resource, as: resource_name, url: "/settings/account", html: { method: :put }, data: { turbo: false}) do |f| = render "modal/password", f: f = render "devise/shared/error_messages", resource: resource diff --git a/app/views/settings/mutes/index.haml b/app/views/settings/mutes/index.haml index 078e9d97..ecc092e4 100644 --- a/app/views/settings/mutes/index.haml +++ b/app/views/settings/mutes/index.haml @@ -11,8 +11,8 @@ .input-group-append %button.btn.btn-danger{ type: "button", data: { id: rule.id } }= t(".actions.remove") .form-group - %form - .input-group + %form{ data: { turbo: false } } + .input-group %input.form-control#new-rule-text{ placeholder: t(".placeholder") } .input-group-append %button.btn.btn-primary#new-rule-submit{ type: "submit" }= t(".actions.add") diff --git a/app/views/settings/privacy/edit.haml b/app/views/settings/privacy/edit.haml index 89638800..e2287aad 100644 --- a/app/views/settings/privacy/edit.haml +++ b/app/views/settings/privacy/edit.haml @@ -1,6 +1,6 @@ .card .card-body - = bootstrap_form_for(current_user, url: settings_privacy_path, method: :patch) do |f| + = bootstrap_form_for(current_user, url: settings_privacy_path, method: :patch, data: { turbo: false }) do |f| = f.check_box :privacy_allow_anonymous_questions = f.check_box :privacy_allow_public_timeline = f.check_box :privacy_allow_stranger_answers diff --git a/app/views/settings/profile/edit.haml b/app/views/settings/profile/edit.haml index fccdf71c..96626578 100644 --- a/app/views/settings/profile/edit.haml +++ b/app/views/settings/profile/edit.haml @@ -1,6 +1,6 @@ .card .card-body - = bootstrap_form_for(current_user, url: settings_profile_picture_path, html: { multipart: true }, method: :patch) do |f| + = bootstrap_form_for(current_user, url: settings_profile_picture_path, html: { multipart: true }, method: :patch, data: { turbo: false }) do |f| .media#profile-picture-media .pull-left @@ -35,7 +35,7 @@ = f.primary .card .card-body - = bootstrap_form_for(current_user.profile, html: { multipart: true }, method: :patch) do |f| + = bootstrap_form_for(current_user.profile, html: { multipart: true }, method: :patch, data: { turbo: false }) do |f| = f.text_field :display_name, autocomplete: :name diff --git a/app/views/settings/theme/edit.haml b/app/views/settings/theme/edit.haml index a2aa406c..03623b73 100644 --- a/app/views/settings/theme/edit.haml +++ b/app/views/settings/theme/edit.haml @@ -6,8 +6,8 @@ - if current_user.theme .pull-right -= bootstrap_form_for(current_user.theme || Theme.new, html: { id: "update" }, method: :patch) do |f| = link_to t(".delete"), settings_theme_path, data: { turbo_confirm: t("voc.confirm"), turbo_method: :delete }, tabindex: -1, class: "btn btn-danger" += bootstrap_form_for(current_user.theme || Theme.new, html: { id: "update" }, method: :patch, data: { turbo: false }) do |f| .card .card-body %h2= t(".general.heading") diff --git a/app/views/settings/two_factor_authentication/otp_authentication/_totp_setup.haml b/app/views/settings/two_factor_authentication/otp_authentication/_totp_setup.haml index 74851357..73a98af6 100644 --- a/app/views/settings/two_factor_authentication/otp_authentication/_totp_setup.haml +++ b/app/views/settings/two_factor_authentication/otp_authentication/_totp_setup.haml @@ -8,7 +8,7 @@ = t(".setup_key") %code= current_user.otp_secret_key.scan(/.{4}/).flatten.join(" ") .totp-setup__content.col - = bootstrap_form_for(current_user, url: settings_two_factor_authentication_otp_authentication_path) do |f| + = bootstrap_form_for(current_user, url: settings_two_factor_authentication_otp_authentication_path, data: { turbo: false }) do |f| %p= t(".app.none") %ul.list-unstyled.pl-3 %li