<form action="../config/updateAdmin.php" method="post" enctype="multipart/form-data">
  <div class="card-body">
    <div class="form-group row">
      <label for="edit_id_user" class="col-sm-2 col-form-label">ID</label>
      <div class="col-sm-10">
        <input type="text" name="id" id="edit_id_user" class="form-control" placeholder="ID" readonly>
      </div>
    </div>
    
    <div class="form-group row">
      <label for="edit_username_user" class="col-sm-2 col-form-label">Username</label>
      <div class="col-sm-10">
        <input type="text" name="username" id="edit_username_user" class="form-control" placeholder="Username" required>
      </div>
    </div>
    
    <div class="form-group row">
      <label for="edit_nama_user" class="col-sm-2 col-form-label">Nama Lengkap</label>
      <div class="col-sm-10">
        <input type="text" name="nama" id="edit_nama_user" class="form-control" placeholder="Nama Lengkap" required>
      </div>
    </div>
    
    <div class="form-group row">
      <label for="edit_password_user" class="col-sm-2 col-form-label">Password</label>
      <div class="col-sm-10">
        <input type="password" name="password" id="edit_password_user" class="form-control" placeholder="Password">
        <small class="form-text text-muted">Biarkan kosong jika tidak ingin mengubah password</small>
      </div>
    </div>
    
    <div class="form-group row">
      <label for="edit_role_user" class="col-sm-2 col-form-label">Role</label>
      <div class="col-sm-10">
        <select name="role" id="edit_role_user" class="form-control" required>
          <option value="">-- Pilih Role --</option>
          <option value="1">OWNER</option>
          <option value="2">KARYAWAN</option>
        </select>
      </div>
    </div>

  <div class="modal-footer justify-content-between">
    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
    <button type="submit" class="btn btn-primary">Save changes</button>
  </div>
    </form>
</div>