<div class="modal fade" id="modalEdit" tabindex="-1" aria-labelledby="modalEditLabel" aria-hidden="true">
    <div class="modal-dialog">
        <form id="formEdit" enctype="multipart/form-data">
            <?php echo csrf_field(); ?>
            <?php echo method_field('PUT'); ?>
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">Ubah Jenis Unit</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Tutup"></button>
                </div>
                <div class="modal-body">
                    <input type="hidden" id="edit-id" name="id">
                    <div class="mb-3">
                        <label for="edit-name" class="form-label">Nama Jenis Unit</label>
                        <input type="text" name="name" id="edit-name" class="form-control"
                            placeholder="Contoh: Admin">
                    </div>

                    <div class="mb-3">
                        <label for="edit-image" class="form-label">Ganti Gambar (opsional)</label>
                        <input type="file" name="image" id="edit-image" class="form-control" accept="image/*">
                        <small class="text-muted">Format: PNG (maks 2MB)</small>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-light" data-bs-dismiss="modal">Tutup</button>
                    <button type="submit" class="btn btn-primary">Simpan Perubahan</button>
                </div>
            </div>
        </form>
    </div>
</div>
<?php /**PATH /home/pmme2286/public_html/docu/vendor1/resources/views/parts/unit_type/modal/edit.blade.php ENDPATH**/ ?>