<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 users</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('users/tambah') ?>" method="POST">

                                           
                                          
                                            <div class="form-group row">
                                                <label for="example-number-input" class="col-md-4 col-form-label">Username</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" type="text" placeholder="Masukan Username" id="example-number-input" name="username">
                                                    <?= form_error('username', '<small class="text-danger pl-3">', '</small>'); ?>
                                                </div>
                                            </div>
                                            <div class="form-group row">
                                                <label for="example-number-input" class="col-md-4 col-form-label">email</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" type="text" placeholder="Masukan email" id="example-number-input" name="email">
                                                    <?= form_error('email', '<small class="text-danger pl-3">', '</small>'); ?>
                                                </div>
                                            </div>
                                            <div class="form-group row">
                                                <label for="example-number-input" class="col-md-4 col-form-label">Password</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" type="text" placeholder="Masukan Password" id="example-number-input" name="password">
                                                    <?= form_error('password', '<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('users'); ?>" 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 -->