<?php echo form_open(base_url().$this->uri->segment(1)."/".$this->uri->segment(2)."/insert_anggota")?>
<input type="hidden" name="id" value="<?php echo $this->uri->segment(4) ?>">
<div class="row">
  <div class="col-md-12">
      <div class="card card-cascade narrower z-depth-1 animated bounceInDown">
      <div class="view view-cascade gradient-card-header peach-gradient narrower py-2 mx-4 mb-3 d-flex justify-content-between align-items-center">
        <h4><a href="" class="white-text mx-3">Form Tambah Anggota</a></h4>
      </div>
          <div class="card-body m-t-20">
            <div class="row p-t-20">
              <div class="col-md-12 col-xl-6">
                <div class="form-group animated flipIn">
                  <label for="exampleInputuname">No Anggota</label>
                  <div class="input-group mb-3">
                    <div class="input-group-prepend">
                      <span class="input-group-text"><i class="ti-calendar"></i></span>
                    </div>
                    <input type="text" name="no_anggota" class="form-control">
                  </div>
                </div>
              </div>
              <div class="col-md-12 col-xl-6">
                <div class="form-group animated flipIn">
                  <label for="exampleInputuname">Nama Anggota</label>
                  <div class="input-group mb-3">
                    <div class="input-group-prepend">
                      <span class="input-group-text" id="basic-addon1"><i class="ti-calendar"></i></span>
                    </div>
                    <input type="text" name="nama" class="form-control">
                  </div>
                </div>
              </div>
              <div class="col-md-12 col-xl-6">
                <div class="form-group animated flipIn">
                  <label for="exampleInputuname">Jenis Kelamin</label>
                  <div class="input-group mb-3">
                    <div class="input-group-prepend">
                      <span class="input-group-text" id="basic-addon1"><i class="ti-calendar"></i></span>
                    </div>
                    <select class="mdb-select colorful-select dropdown-info sm-form" name="jekel">
                      <option value="L">Laki-Laki</option>
                      <option value="P">Perempuan</option>
                    </select>
                  </div>
                </div>
              </div>
              <div class="col-md-12 col-xl-6">
                <div class="form-group animated flipIn">
                  <label for="exampleInputuname">Status Anggota</label>
                  <div class="input-group mb-3">
                    <div class="input-group-prepend">
                      <span class="input-group-text" id="basic-addon1"><i class="ti-calendar"></i></span>
                    </div>
                    <select class="mdb-select colorful-select dropdown-info sm-form" name="status_anggota">
                      <option value="1">Anggota Aktif</option>
                      <option value="2">Anggota Paripurna</option>
                    </select>
                  </div>
                </div>
              </div>
              <div class="col-md-12 col-xl-6">
                <div class="form-group animated flipIn">
                  <label for="exampleInputuname">No. Telp</label>
                  <div class="input-group mb-3">
                    <div class="input-group-prepend">
                      <span class="input-group-text" id="basic-addon1"><i class="ti-calendar"></i></span>
                    </div>
                    <input type="text" name="telp" class="form-control" required>
                  </div>
                </div>
              </div>
              <div class="col-md-12 col-xl-6">
                <div class="form-group animated flipIn">
                  <label for="exampleInputuname">Email</label>
                  <div class="input-group mb-3">
                    <div class="input-group-prepend">
                      <span class="input-group-text" id="basic-addon1"><i class="ti-calendar"></i></span>
                    </div>
                    <input type="email" name="email" class="form-control">
                  </div>
                </div>
              </div>
              <div class="col-md-12 col-xl-12">
                <div class="form-group animated flipIn">
                  <label for="exampleInputuname">Alamat</label>
                  <div class="input-group mb-3">
                    <div class="input-group-prepend">
                      <span class="input-group-text" id="basic-addon1"><i class="ti-calendar"></i></span>
                    </div>
                    <input type="text" name="alamat" class="form-control">
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="card-footer p-20 m-10">
            <?php $this->load->view('template/button')?>
          </div>
      </div>
  </div>
</div>
<?php echo form_close()?>

<script type="text/javascript">
  function cekNoAnggota() {

  }
</script>
