    <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="w-100 row px-0 mx-0">
          <div class="col-12 col-md-6 mb-3 mb-md-4 px-0 pe-md-3">
              <label for="subdistrict" class="ps-1 mb-1">Kecamatan <span class="text-danger" style="font-size: 12px;">*</span> </label>
              <select class="form-control select2" name="subdistrict" id="subdistrict" style="width: 100%">
                <option value="">Pilih Kecamatan</option>
              </select>
              <span class="text-danger ps-1 error-message-subdistrict" style="font-size: 12px; display: none;"></span>
          </div>
          <div class=" col-12 col-md-6 mb-3 px-0 pe-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 kecamatan disini" name="name" />
            <span class="text-danger ps-1 error-message-name" style="font-size: 12px; display: none;" ></span>
          </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>