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

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

<div class="admin-page-header">
    <h1>Tambah Aktivitas Baru</h1>
</div>

<div class="admin-card">
    <form action="" method="post" enctype="multipart/form-data">
        <div class="admin-form-group">
            <label for="tanggal">Tanggal</label>
            <input type="date" name="tanggal" class="admin-form-control" required>
        </div>
        <div class="admin-form-group">
            <label for="jam">Jam</label>
            <input type="time" name="jam" class="admin-form-control" required>
        </div>
        <div class="admin-form-group">
            <label for="nama_aktivitas">Nama Aktivitas</label>
            <input type="text" name="nama_aktivitas" class="admin-form-control" placeholder="Nama aktivitas" required>
        </div>
        <div class="admin-form-group">
            <label for="foto">Foto</label>
            <input type="file" name="foto" class="admin-form-control" accept="image/*">
            <small class="text-muted d-block mt-1">Format: JPG, PNG, GIF (maks 5MB)</small>
        </div>
        <div class="admin-form-group">
            <label for="video">Video</label>
            <input type="file" name="video" class="admin-form-control" accept="video/*">
            <small class="text-muted d-block mt-1">Format: MP4, AVI, MOV (maks 50MB)</small>
        </div>
        <div class="admin-form-group d-flex gap-2">
            <button type="submit" class="admin-btn admin-btn-primary">Simpan</button>
            <a href="<?= base_url('admin/activities') ?>" class="admin-btn admin-btn-secondary">Batal</a>
        </div>
    </form>
</div>

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







