<h2>Acesso administrativo</h2>

<?php if ($erro = Session::getFlash('erro')): ?>
    <div class="alert error"><?= e($erro) ?></div>
<?php endif; ?>

<form method="POST" action="<?= base_url('/login') ?>" class="card narrow-card">
    <label>E-mail</label>
    <input type="email" name="email" required>

    <label>Senha</label>
    <input type="password" name="senha" required>

    <button type="submit" class="btn">Entrar</button>
</form>
