<div class="modal fade" id="policyModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
  <div class="modal-dialog modal-md">
    <div class="modal-content">
      <div class="modal-header border-0 alert-info p-2">
        <h5 class="modal-title fw-bold fs-6" id="staticBackdropLabel">Company Policy</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
        
        <!-- Form !-->
        <form method="POST" action="<?= base_url('administrator/settings/policies');?>" enctype="multipart/form-data">
            <?= csrf_field(); ?>
            <input type="hidden" name="id" >
            <div class="row">
                <div class="col-md-12 mb-2">
                    <label for="name" class="form-label mb-0 fw-bold fs-6">Title</label>
                    <input type="text" name="title" id="name" class="form-control" >
                </div>
                <div class="col-lg-6 mb-2">
                    <label for="sorti" class="form-label mb-0 fw-bold fs-6">Policy Type</label>
                    <select name="policy_type" id="sorti" class="form-select">
                        <option value="">Select Type</option>
                        <option value="privacy_policy">Privacy Policy</option>
                        <option value="terms_of_use">Terms of Use</option>
                        <option value="cookie_policy">Cookie Policy</option>
                        <option value="refund_policy">Refund Policy</option>
                        <option value="data_protection">Data Protection</option>
                        <option value="other">Other</option>
                    </select>
                </div>
                <div class="col-lg-6 mb-2">
                    <label for="photo" class="form-label mb-0 fw-bold fs-6">Photo</label>
                    <input type="file" name="photo" class="form-control" accept=".jpg,.png,.jpeg">
                     <div id="currentPhoto" style="display:none;"></div>
                </div>
                <div class="col-md-12 mb-2">
                    <label for="descr" class="form-label mb-0 fw-bold fs-6">Full Description </label>
                    <textarea name="description" class="form-control" id="descr" rows="10"></textarea>
                </div>
            </div>
        <!-- End Form !-->
      </div>
      <div class="modal-footer border-0">
        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-danger sbtn">Save</button>
      </div>
      </form>
    </div>
  </div>
</div>