.
This commit is contained in:
1 parent
f77bcb3772
commit
074792be8f
5 files changed
+23
-16
No files matched your search
@@ -0,0 +1,5 @@
|
||||
{{define "activated"}}
|
||||
<div class="alert alert--error">
|
||||
{{range .FormErrors}}<p>{{.}}</p>{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user