feat: Implementiere Login mit Vor-/Nachname und passe Formular-Layout an

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
torsten 2026-10-04 11:18:26 +02:00
parent 606443a5d4
commit 9891a47093
4 changed files with 44 additions and 10 deletions

View file

@ -9,16 +9,34 @@ require __DIR__ . '/partials/header.php';
<p style="color: red;"><?php echo htmlspecialchars($error); ?></p>
<?php endif; ?>
<style>
.form-group {
margin-bottom: 1rem;
}
.form-group label {
display: inline-block;
width: 150px;
text-align: right;
margin-right: 10px;
}
.form-group button {
margin-left: calc(150px + 10px);
}
</style>
<form action="/index.php?page=login" method="post">
<div>
<label for="email">E-Mail:</label>
<input type="email" id="email" name="email" required>
<div class="form-group">
<label for="firstname">Vorname:</label>
<input type="text" id="firstname" name="firstname" required>
</div>
<div>
<div class="form-group">
<label for="lastname">Nachname:</label>
<input type="text" id="lastname" name="lastname" required>
</div>
<div class="form-group">
<label for="password">Passwort:</label>
<input type="password" id="password" name="password" required>
</div>
<div>
<div class="form-group">
<button type="submit">Anmelden</button>
</div>
</form>