<div class="inhalt">
    <div class="login-container">
        <h1>Anmelden</h1>
        <?php if (!empty($errors['login'])): ?>
            <div class="login-error"><?=htmlspecialchars($errors['login'])?></div>
        <?php endif; ?>
        <form class="form-horizontal" action="index.php" method="post">
            <input type="hidden" name="controller" value="Auth">
            <input type="hidden" name="do" value="login">
            <label for="email">E-Mail</label>
            <input class="input-email" type="email" name="email" id="email" placeholder="E-Mail" required>
            <label for="password">Passwort</label>
            <input class="input-passwort" type="password" name="password" id="password" placeholder="Passwort" required>
            <button class="button-loggin" type="submit">Login</button>
        </form>
        <div style="text-align:center; margin-top: 1.5em;">
            <a class="link-passwort-vergessen" href="?controller=Auth&do=showForgotPasswordForm">Passwort vergessen?</a>
            <br>
            <a class="link-konto-erstellen" href="?controller=Auth&do=showRegistrationForm">Konto erstellen</a>
        </div>
    </div>
</div>

