Appease the dog overlords

This commit is contained in:
Andreas Nedbal 2023-01-21 13:44:53 +01:00
parent de3e04812d
commit df3d4d71bb
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@
- if current_user.theme - if current_user.theme
.pull-right .pull-right
= link_to t(".delete"), settings_theme_path, data: { turbo_confirm: t("voc.confirm"), turbo_method: :delete }, tabindex: -1, class: "btn btn-danger" = 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, controller: "theme", action: "theme#submit" }) do |f| = bootstrap_form_for(current_user.theme || Theme.new,
html: { id: "update" },
method: :patch,
data: { turbo: false, controller: "theme", action: "theme#submit" }) do |f|
.card .card
.card-body .card-body
%h2= t(".general.heading") %h2= t(".general.heading")