<?= $this->session->flashdata('pesan'); ?>
<div class="card">
    <div class="card-header d-flex justify-content-between align-items-center w-100">
        <h3 class="card-title mb-1" style="margin-top: 5px;">Halaman Tambah Perlombaan Santri</h3>
    </div>
    <div class="col-lg-6 mt-2 ml-2 mb-4">
        <form action="<?= base_url('perlombaan/tambah_aksi') ?>" method="POST">
            <div class="form-group">
                <label>Agenda</label>
                <input type="text" name="agenda" class="form-control" value="<?= set_value('agenda'); ?>" placeholder="Input Agenda">
                <?= form_error('agenda', '<div class="text-small text-danger">', '</div>'); ?>
            </div>
            <div class="form-group">
                <label>Perlombaan</label>
                <input type="text" name="perlombaan" class="form-control" value="<?= set_value('perlombaan'); ?>" placeholder="Input Perlombaan">
                <?= form_error('perlombaan', '<div class="text-small text-danger">', '</div>'); ?>
            </div>
            <div class="form-group">
                <label>Tanggal</label>
                <input type="text" name="tanggal" class="form-control" value="<?= set_value('tanggal'); ?>" placeholder="Input Tanggal">
                <?= form_error('tanggal', '<div class="text-small text-danger">', '</div>'); ?>
            </div>
            <a href="<?= base_url('perlombaan') ?>" class="btn btn-danger btn-sm">
                <i class="fas fa-solid fa-angle-left"></i> Kembali
            </a>
            <button type="submit" class="btn btn-primary btn-sm"><i class="fas fa-save"></i> Simpan </button>
        </form>
    </div>
</div>