Initial habit tracker project
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<section class="auth-panel">
|
||||
<h1>Anmelden</h1>
|
||||
<form method="post" action="index.php?route=login" class="form">
|
||||
<?= csrf_field() ?>
|
||||
<label for="email">E-Mail</label>
|
||||
<input id="email" name="email" type="email" autocomplete="email" required>
|
||||
|
||||
<label for="password">Passwort</label>
|
||||
<input id="password" name="password" type="password" autocomplete="current-password" required>
|
||||
|
||||
<button type="submit">Einloggen</button>
|
||||
</form>
|
||||
<p>Noch kein Konto? <a href="index.php?route=register">Jetzt registrieren</a></p>
|
||||
</section>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<section class="auth-panel">
|
||||
<h1>Registrieren</h1>
|
||||
<form method="post" action="index.php?route=register" class="form">
|
||||
<?= csrf_field() ?>
|
||||
<label for="name">Name</label>
|
||||
<input id="name" name="name" type="text" autocomplete="name" required>
|
||||
|
||||
<label for="email">E-Mail</label>
|
||||
<input id="email" name="email" type="email" autocomplete="email" required>
|
||||
|
||||
<label for="password">Passwort</label>
|
||||
<input id="password" name="password" type="password" minlength="8" autocomplete="new-password" required>
|
||||
<small>Mindestens 8 Zeichen.</small>
|
||||
|
||||
<button type="submit">Konto erstellen</button>
|
||||
</form>
|
||||
<p>Schon registriert? <a href="index.php?route=login">Zum Login</a></p>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user