
<div class="modal fade" id="modal-default">
<div class="modal-dialog modal-lg">
  <div class="modal-content">
    <div class="modal-header">
      <h4 class="modal-title">Tambah Pengguna User Baru</h4>
      <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span>
      </button>
    </div>
    <div class="modal-body">      
      
      <div class="form-group row">
        <label for="nama" class="col-sm-2 col-form-label">Nama Lengkap</label>
        <div class="col-sm-9">
          <input type="text" name="nama" class="form-control" placeholder="Nama Lengkap" value="<?php echo set_value('nama') ?>" required oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')">
        </div>
      </div>

      <div class="form-group row">
        <label for="email" class="col-sm-2 col-form-label">Email</label>
        <div class="col-sm-9">
          <input type="email" name="email" class="form-control" placeholder="Email" value="<?php echo set_value('email') ?>" required oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')">
        </div>
      </div>

      <div class="form-group row">
        <label for="userid" class="col-sm-2 col-form-label">User ID</label>
        <div class="col-sm-9">
          <input type="text" name="userid" class="form-control" placeholder="User ID" value="<?php echo set_value('userid') ?>" required oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')">
        </div>
      </div>

      <div class="form-group row">
        <label for="password" class="col-sm-2 col-form-label">Password</label>
        <div class="col-sm-9">
          <input type="password" name="password" class="form-control" placeholder="Password" value="<?php echo set_value('password') ?>" minlength="6" maxlength="32" required oninvalid="this.setCustomValidity('data tidak boleh kosong')" oninput="setCustomValidity('')">
        </div>
      </div>

       <div class="form-group row">
        <label for="level" class="col-sm-2 col-form-label">Level Hak Akses</label>
        <div class="col-sm-9">
          <select name="level" class="form-control">
            <option value="Administrator">Administrator</option>
            <option value="Operator">Operator</option>
			<option value="CS">Customer Service</option>
            <option value="Penguji">Penguji</option>
            <option value="Peserta">Peserta</option>
          </select>
        </div>
      </div>

       <div class="form-group row">
        <label for="userid" class="col-sm-2 col-form-label"></label>
        <div class="col-sm-9">
          <input type="hidden" name="gambar" class="form-control" placeholder="gambar" value="user1.jpg" required>
        </div>
      </div>

    </div>   
    <div class="modal-footer justify-content-between">
      <button type="button" class="btn btn-default" data-dismiss="modal">
          <i class="fa fa-times"></i> Tutup
      </button>
      <button type="submit" class="btn btn-primary">
          <i class="fa fa-save"></i> Simpan Data
      </button>
      
    </div>
  </div>
  <!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->