    <form id="form_add" 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">
              <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" 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" 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" class="ps-1 mb-1">Role <span class="text-danger" style="font-size: 12px;">*</span></label>
              <select class="form-control select2" name="role" id="role" style="width: 100%">
                <option value="">Pilih Role</option>
              </select>
              <span class="text-danger ps-1 error-message-role" 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" 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 <span class="text-danger" style="font-size: 12px;">*</span></label>
              <input type="password" class="form-control" id="password" placeholder="Masukan password disini" name="password" autocomplete="off" />
              <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 <span class="text-danger" style="font-size: 12px;">*</span></label>
              <input type="password" class="form-control" id="confirm_password" placeholder="Masukan konfirmasi password disini" name="confirm_password" autocomplete="off" />
              <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" ></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" checked="" autocomplete="off" />
                <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>

