This commit is contained in:
vfs committed 2026-05-25 10:32:36 +02:00
1 parent f77bcb3772
commit 074792be8f
5 files changed
+23 -16

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
{{define "activated"}}
<div class="alert alert--error">
{{range .FormErrors}}<p>{{.}}</p>{{end}}
</div>
{{end}}
+2 -6
View File
@@ -8,13 +8,9 @@
<h2 class="auth-title">Konto aktivieren</h2>
<p class="auth-subtitle">Geben Sie Ihren Aktivierungstoken ein, um Ihr Konto freizuschalten.</p>
{{if .FormErrors}}
<div class="alert alert--error">
{{range .FormErrors}}<p>{{.}}</p>{{end}}
</div>
{{end}}
<div id="activation-result"></div>
<form method="POST" action="/users/activated">
<form hx-put="/users/activated" hx-target="#activation-result" hx-swap="innerHTML">
<div class="form-group">
<label class="form-label" for="token">Aktivierungstoken</label>
<input class="form-input" id="token" name="token" type="text"