aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/templates/dashboard/password.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates/dashboard/password.html')
-rw-r--r--internal/web/templates/dashboard/password.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/web/templates/dashboard/password.html b/internal/web/templates/dashboard/password.html
index 3e28744..2150a40 100644
--- a/internal/web/templates/dashboard/password.html
+++ b/internal/web/templates/dashboard/password.html
@@ -1,13 +1,13 @@
-{{define "title"}}Change password · Blogspace{{end}}
+{{define "title"}}{{t "Change password"}} · Blogspace{{end}}
{{define "content"}}
<div class="card narrow">
- <h1>Change password</h1>
+ <h1>{{t "Change password"}}</h1>
<form method="post" action="/account/password">
<input type="hidden" name="_csrf" value="{{.CSRF}}">
- <label>Current password<br><input type="password" name="current" required autocomplete="current-password"></label>
- <label>New password<br><input type="password" name="password" required minlength="8" autocomplete="new-password"></label>
- <label>Repeat new password<br><input type="password" name="password2" required minlength="8" autocomplete="new-password"></label>
- <p class="actionrow"><button type="submit">Change password</button></p>
+ <label>{{t "Current password"}}<br><input type="password" name="current" required autocomplete="current-password"></label>
+ <label>{{t "New password"}}<br><input type="password" name="password" required minlength="8" autocomplete="new-password"></label>
+ <label>{{t "Repeat new password"}}<br><input type="password" name="password2" required minlength="8" autocomplete="new-password"></label>
+ <p class="actionrow"><button type="submit">{{t "Change password"}}</button></p>
</form>
</div>
{{end}}