Files
2026-08-15 11:15:31 +02:00

25 lines
1.1 KiB
HTML

$message
<div class="pagehead">
<div>
<h1>Profile</h1>
<p>Status: <span class="pill">$status</span></p>
</div>
<div class="avatar">$username</div>
</div>
<form method="post" action="/profile" class="grid-form">
<label>Username <input value="$username" disabled></label>
<label>Full name <input name="full_name" value="$full_name" required></label>
<label>Email <input name="email" type="email" value="$email" required></label>
<button class="primary" type="submit">Save profile</button>
</form>
<section class="panel">
<h2>Change password</h2>
<form method="post" action="/profile/password" class="grid-form">
<label>Old password <input name="old_password" type="password" autocomplete="current-password" required></label>
<label>New password <input name="new_password" type="password" autocomplete="new-password" minlength="12" required></label>
<label>Confirm new password <input name="confirm_password" type="password" autocomplete="new-password" minlength="12" required></label>
<button class="primary" type="submit">Change password</button>
</form>
</section>