<?= $this->extend('layouts/guest') ?>

<?= $this->section('content') ?>
<div class="onboard-screen">
    <h1 class="auth-title">Let us serve you better!</h1>

    <form class="auth-form" method="post" action="<?= site_url('profile/onboarding') ?>">
        <?= csrf_field() ?>
        <?= view('profile/_fields', [
            'values' => $values ?? [],
            'errors' => $errors ?? [],
            'email'  => $email ?? '',
        ]) ?>

        <button class="btn-primary" type="submit">Continue</button>
        <button class="text-link-btn" type="submit" name="skip" value="1">Skip</button>
    </form>
</div>
<?= $this->endSection() ?>
