<!DOCTYPE html>
<html>
<head><title>Register</title></head>
<body>
    <h2>Register</h2>
    <form method="POST" action="<?= base_url('auth/register') ?>">
        <input name="name" type="text" placeholder="Name" required><br><br>
        <input name="email" type="email" placeholder="Email" required><br><br>
        <input name="password" type="password" placeholder="Password" required><br><br>
        <button type="submit">Register</button>
    </form>
    <p><a href="<?= base_url('auth/login') ?>">Login</a></p>
</body>
</html>