<div class="main-content">

    <div class="page-content">

        <!-- Page-Title -->
         <div class="page-title-box" style="background-color:#3c2f27 !important">
            <div class="container-fluid">
                <div class="row align-items-center">
                    <div class="col-md-8">
                        <h4 class="page-title mb-1">Tambah Data Jenis Kopi </h4>
                        <ol class="breadcrumb m-0">
                           
                        </ol>
                    </div>

                </div>

            </div>
        </div>
        <!-- end page title end breadcrumb -->

        <div class="page-content-wrapper">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-12">
                        <div class="card">
                            <div class="card-body">


                                <div class="row d-flex justify-content-center ">
                                    <div class="col-md-10 p-3">
                                        <div class="flash-data-news"
                                            data-flashdata="<?= $this->session->flashdata('flash') ?>">

                                        </div>
                                        <div class="flash-data-data"
                                            data-flashdata="<?= $this->session->flashdata('data') ?>">
                                        </div>

                                        </h3>

                                        <form action="<?= base_url('jeniskopi/tambah_jenis') ?>" method="POST">

                                           
                                          
                                            <div class="form-group row">
                                                <label for="example-number-input" class="col-md-4 col-form-label">Nama</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" type="text" placeholder="Masukan jenis kopi" id="example-number-input" name="nama">
                                                    <?= form_error('nama', '<small class="text-danger pl-3">', '</small>'); ?>
                                                </div>
                                            </div>
                                            <div class="form-group row">
                                                <label for="deskripsi" class="col-md-4 col-form-label">Deskripsi</label>
                                                <div class="col-md-6">
                                                    <textarea class="form-control" placeholder="Masukkan Deskripsi" id="deskripsi" name="deskripsi" rows="5" required></textarea>
                                                    <?= form_error('deskripsi', '<small class="text-danger pl-3">', '</small>'); ?>
                                                </div>
                                            </div>
                                            <div class="d-flex justify-content-center">
                                            
                                            <a href="<?= isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : base_url('jeniskopi'); ?>" type="button" class="btn btn-warning mx-auto mdi mdi-backup-restore">Kembali</a>
                                            
                                            <button type="submit"
                                                    class="btn btn-success mx-auto mdi mdi-content-save">Simpan</button>
                                               
                                               
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>



            </div> <!-- container-fluid -->
        </div>
        <!-- end page-content-wrapper -->
    </div>
    <!-- End Page-content -->