    <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="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_edit" class="ps-1 mb-1">Kecamatan <span class="text-danger" style="font-size: 12px;">*</span></label>
              <select class="form-control select2" name="subdistrict_edit" id="subdistrict_edit" style="width: 100%">
                <option value="">Pilih Kecamatan</option>
              </select>
              <span class="text-danger ps-1 error-message-subdistrict_edit" 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="hidden" class="form-control w-0 h-0 d-none" id="hide_id" placeholder="Masukan nama kategori disini" name="hide_id" value="<?= $row->id ?>" />
            <input type="text" class="form-control" id="name" placeholder="Masukan nama kecamatan disini" name="name" value="<?= $row->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>