<h3>Login Calon Siswa</h3>

<?php if (session()->getFlashdata('error')) : ?>
    <p style="color:red"><?= session()->getFlashdata('error') ?></p>
<?php endif; ?>

<form method="post" action="<?= site_url('ppdb/account/login') ?>">
    <input type="email" name="email" placeholder="Email" required><br><br>
    <input type="password" name="password" placeholder="Password" required><br><br>
    <button type="submit">Login</button>
</form>

<a href="<?= site_url('ppdb/account/register') ?>">Daftar Akun</a>
