source: Klonkt/src/views/pages/auth-reset.ejs@ 8f2f97c

main
Last change on this file since 8f2f97c was 4885eab, checked in by roboburr <roboburr@…>, 3 months ago

feat(i18n phase 6): remaining public + other pages translated (NL/EN/DE)

post-edit, account, newsletter, download, press kit /pers, fan-gate, link-in-bio,
my-site, password-reset (2), artists directory, auth-login Google error map,
user/hub-home/circle-feed+post/viewer-blocked/home/favourites/changelog/404/
type/tag/archive/prutter (inbox+conversation). embed-player skipped (no t
in that standalone route). 1026 view-keys cross-checked → 0 missing.

Co-Authored-By: Claude <noreply@…>

  • Property mode set to 100644
File size: 1.2 KB
Line 
1<div class="container auth-page">
2 <h1><%= t('arst.title') %></h1>
3
4 <% if (!token) { %>
5 <% if (error) { %><div class="alert alert-error"><%= error %></div><% } %>
6 <p class="auth-link">
7 <a href="/auth/reset-request"><%= t('arst.request_new') %></a>
8 &middot;
9 <a href="/auth/login"><%= t('arst.back_login') %></a>
10 </p>
11 <% } else { %>
12 <p class="auth-tagline"><%- t('arst.set_for', { username: '<strong>' + username + '</strong>' }) %></p>
13 <%# arst.set_for bevat {username} → rendered met <%- omdat username in <strong> staat %>
14
15 <% if (error) { %><div class="alert alert-error"><%= error %></div><% } %>
16
17 <form method="post" action="/auth/reset/<%= token %>" class="auth-form">
18 <label>
19 <span><%= t('arst.new_pw') %></span>
20 <input type="password" name="new_password" required minlength="8" autofocus autocomplete="new-password">
21 </label>
22 <label>
23 <span><%= t('arst.confirm_pw') %></span>
24 <input type="password" name="confirm" required minlength="8" autocomplete="new-password">
25 </label>
26 <button type="submit" class="btn btn-primary"><%= t('arst.submit') %></button>
27 </form>
28 <% } %>
29</div>
Note: See TracBrowser for help on using the repository browser.