<?= $this->extend('layout/admin/admin_layout') ?>

<?= $this->section('content') ?>

<h2 class="mb-4">Preview Riwayat Pendidikan</h2>

<div class="card">
    <div class="card-body">
        <h5 class="card-title"><?= esc($education['nama_sekolah']) ?></h5>
        <p class="card-text">
            <strong>Jenjang:</strong> <?= esc($education['jenjang']) ?><br>
            <strong>Jurusan:</strong> <?= esc($education['jurusan']) ?><br>
            <strong>Tahun Mulai:</strong> <?= esc($education['tahun_mulai']) ?><br>
            <strong>Tahun Selesai:</strong> <?= esc($education['tahun_selesai']) ?><br>
            <strong>IPK:</strong> <?= esc($education['ipk']) ?><br>
            <?php if (!empty($education['keterangan'])): ?>
                <strong>Keterangan:</strong><br>
                <?= esc($education['keterangan']) ?>
            <?php endif; ?>
        </p>
        <a href="<?= base_url('admin/education') ?>" class="btn btn-secondary">Kembali</a>
    </div>
</div>

<?= $this->endSection() ?>







