<?= $this->extend('layouts/main') ?>
<?= $this->section('content') ?>

<h4>Tambah Customer</h4>
<form action="<?= base_url('admin/customer/store') ?>" method="post">
    <div class="mb-3">
        <label>Nama</label>
        <input type="text" name="nama" class="form-control" required>
    </div>
    <div class="mb-3">
        <label>Telepon</label>
        <input type="text" name="telepon" class="form-control">
    </div>
    <div class="mb-3">
        <label>Email</label>
        <input type="email" name="email" class="form-control">
    </div>
    <div class="mb-3">
        <label>Alamat</label>
        <textarea name="alamat" class="form-control"></textarea>
    </div>
    <button type="submit" class="btn btn-success">Simpan</button>
    <a href="<?= base_url('admin/customer') ?>" class="btn btn-secondary">Kembali</a>
</form>

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