aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/change_password_form.php
diff options
context:
space:
mode:
authorwinter2025-03-16 02:04:04 +0000
committerwinter2025-03-16 02:04:04 +0000
commitdd4d47bde45d20954129ba256696bf12c3826cdd (patch)
tree83029bead8fbd1fe7206961b8d0145b1400f6f38 /templates/change_password_form.php
parent23ddb01a20788da2c98c4d5bb9bd271ceff532c8 (diff)
fix hx-target everywhere :<
Diffstat (limited to 'templates/change_password_form.php')
-rw-r--r--templates/change_password_form.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/change_password_form.php b/templates/change_password_form.php
index 7a463fd..43d61c3 100644
--- a/templates/change_password_form.php
+++ b/templates/change_password_form.php
@@ -1,4 +1,5 @@
-<form method="post" action="/todo" hx-post="/fragment/changePassword" hx-disabled-elt="find button" hx-swap="outerHTML">
+<form method="post" action="/todo" hx-post="/fragment/changePassword" hx-disabled-elt="find button" hx-swap="outerHTML"
+ hx-target="this">
<div class="row">
<label for="changePassword-current"><?= __('changePassword.currentPassword') ?></label>
<input type="password" id="changePassword-current" name="current" autocomplete="off" required