    <form id="form_edit" autocomplete="off">
      <div class="modal-header">
        <h1 class="modal-title fs-4"><?= $title ?></h1>
        <!-- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> -->
      </div>
      <div class="modal-body">
          <div class="row px-0 mx-0">
            <div class="col-12 col-md-6 mb-3 mb-md-4 px-2 px-md-3">
              <input type="hidden" class="form-control" id="hide_id" name="hide_id" style="width: 0; height: 0; display: none;" value="<?= $row->id ?>" autocomplete="off" />
              <label for="name" class="ps-1 mb-1">Nama <span class="text-danger" style="font-size: 12px;">*</span></label>
              <input type="text" class="form-control" id="name" placeholder="Masukan nama disini" name="name" value="<?= $row->name ?>" autocomplete="off" />
              <span class="text-danger ps-1 error-message-name" style="font-size: 12px; display: none;" ></span>
            </div>
            <div class="col-12 col-md-6 mb-3 mb-md-4 px-2 px-md-3">
              <label for="phone" class="ps-1 mb-1">Telepon <span class="text-danger" style="font-size: 12px;">*</span></label>
              <input type="number" class="form-control" id="phone" placeholder="Masukan nomor telepon disini" name="phone" value="<?= $row->phone ?>" autocomplete="off" />
              <span class="text-danger ps-1 error-message-phone" style="font-size: 12px; display: none;" ></span>
            </div>
            <div class="col-12 col-md-6 mb-3 mb-md-4 px-2 px-md-3">
              <label for="role_edit" class="ps-1 mb-1">Role <span class="text-danger" style="font-size: 12px;">*</span></label>
              <select class="form-control select2" name="role_edit" id="role_edit" style="width: 100%">
                <option value="">Pilih Role</option>
              </select>
              <span class="text-danger ps-1 error-message-role_edit" style="font-size: 12px; display: none;"></span>
            </div>
            <div class="col-12 col-md-6 mb-3 mb-md-4 px-2 px-md-3">
              <label for="username" class="ps-1 mb-1">Username <span class="text-danger" style="font-size: 12px;">*</span></label>
              <input type="text" class="form-control" id="username" placeholder="Masukan username disini" name="username" value="<?= $row->username ?>" autocomplete="off" />
              <span class="text-danger ps-1 error-message-username" style="font-size: 12px; display: none;" ></span>
            </div>
            <!-- <div class="col-12 col-md-6 mb-3 mb-md-4 px-2 px-md-3">
              <label for="password" class="ps-1 mb-1">Password</label>
              <input type="password" class="form-control" id="password" placeholder="Masukan password disini" name="password" />
              <span class="text-danger ps-1 error-message-password" style="font-size: 12px; display: none;" ></span>
            </div>
            <div class="col-12 col-md-6 mb-3 mb-md-4 px-2 px-md-3">
              <label for="confirm_password" class="ps-1 mb-1">Konfirmasi Password</label>
              <input type="password" class="form-control" id="confirm_password" placeholder="Masukan konfirmasi password disini" name="confirm_password" />
              <span class="text-danger ps-1 error-message-confirm_password" style="font-size: 12px; display: none;" ></span>
            </div> -->
            <div class="col-12 mb-3 mb-md-4 px-2 px-md-3">
              <label for="confirm_password" class="ps-1 mb-1">Alamat</label>
              <textarea type="address" class="form-control" id="address" placeholder="Masukan alamat disini" name="address" autocomplete="off" ><?= $row->address ?></textarea>
              <span class="text-danger ps-1 error-message-address" style="font-size: 12px; display: none;" ></span>
            </div>
            <div class="col-12 mb-3 mb-md-4 px-2 px-md-3">
              <div class="form-check">
                <input class="form-check-input input-primary" type="checkbox" id="is_active" name="is_active" <?= $row->is_active==1 ?  "checked" : null ?> />
                <label class="form-check-label text-muted" for="is_active">User Aktif</label>
              </div>
            </div>
          </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Tutup</button>
        <button type="submit" class="btn btn-primary">Simpan</button>
      </div>
    </form>

