source: Klonkt/src/views/pages/auth-register.ejs@ 137cca5

main
Last change on this file since 137cca5 was 137cca5, checked in by roboburr <roboburr@…>, 3 months ago

feat(i18n phase 3): welcome/first-run, login, register, bottom-tab translated

NL/EN/DE keys + views: welcome.ejs, auth-register.ejs, auth-login.ejs (common
strings; Google error map still NL), bottom-tab.ejs. The most visible visitor
pages of a fresh (German) site are now translated.

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

  • Property mode set to 100644
File size: 1.0 KB
Line 
1<div class="container auth-page">
2 <h1><%= t('auth.create_admin') %></h1>
3 <p class="auth-intro"><%= t('auth.reg_intro') %></p>
4 <% if (error) { %><div class="alert alert-error"><%= error %></div><% } %>
5 <form method="post" action="/auth/register" class="auth-form">
6 <% if (typeof next !== 'undefined' && next) { %>
7 <input type="hidden" name="next" value="<%= next %>">
8 <% } %>
9 <label>
10 <span><%= t('auth.f_username') %></span>
11 <input type="text" name="username" value="<%= username %>" required autofocus autocomplete="username" pattern="[a-zA-Z0-9_-]{3,32}">
12 </label>
13 <label>
14 <span><%= t('auth.f_email') %></span>
15 <input type="email" name="email" value="<%= email %>" required autocomplete="email">
16 </label>
17 <label>
18 <span><%= t('auth.f_password') %></span>
19 <input type="password" name="password" required minlength="8" autocomplete="new-password">
20 </label>
21 <button type="submit" class="btn btn-primary"><%= t('auth.create_admin') %></button>
22 </form>
23</div>
Note: See TracBrowser for help on using the repository browser.