<div class="modal fade" id="modSectionModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
  <div class="modal-dialog modal-sm">
    <div class="modal-content">
      <div class="modal-header border-0 alert-info p-2">
        <h5 class="modal-title fw-bold fs-6" id="staticBackdropLabel">Module Section</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/module-sections/create');?>" 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">Name</label>
                    <input type="text" name="name" id="name" class="form-control" >
                </div>
                <div class="col-md-12 mb-2">
                    <label for="sorti" class="form-label mb-0 fw-bold fs-6">Ordering</label>
                    <select name="sort_order" id="sorti" class="form-select">
                        <option value="">Select Order</option>
                        <?php for($i = 10; $i <= 150; $i += 10):?>
                            <option value="<?= $i; ?>"><?= $i; ?></option>
                        <?php endfor;?>
                    </select>
                </div>
                <div class="col-md-12 mb-2">
                    <label for="modi" class="form-label mb-0 fw-bold fs-6">Set Icon</label>
                    <input type="text" name="icon" id="modi" placeholder="bi-person or fa-icons" class="form-control" >
                </div>
                <div class="col-md-12 mb-2">
                    <label for="sta" class="form-label mb-0 fw-bold fs-6">Status</label>
                    <select name="is_active" id="sta" class="form-select">
                        <option value="1" class="bg-success text-white">Active</option>
                        <option value="0" class="bg-dark text-white">Inactive</option>
                    </select>
                </div>
                <div class="col-md-12 mb-2">
                    <label for="descr" class="form-label mb-0 fw-bold fs-6">Description </label>
                    <textarea name="description" class="form-control" id="descr" rows="3"></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">Update</button>
      </div>
      </form>
    </div>
  </div>
</div>