<div class="offcanvas offcanvas-end" id="offcanvasEditKomoditas" aria-labelledby="offcanvasEditKomoditasLabel">
    <div class="offcanvas-header border-bottom">
        <h5 id="offcanvasEditKomoditasLabel" class="offcanvas-title">Edit Komoditas</h5>
        <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    </div>
    <div class="offcanvas-body mx-0 flex-grow-0 p-6 h-100">
        <form id="editKomoditasForm" class="pt-0" method="POST">
            @csrf
            <input type="hidden" name="_method" value="PUT">
            <input type="hidden" id="edit-id" name="id">
            
            <div class="mb-4 form-control-validation">
                <label class="form-label" for="edit-nama">Nama Komoditas<span class="text-danger">*</span></label>
                <input type="text" class="form-control" id="edit-nama" name="nama" />
            </div>
            <div class="mt-4">
                <button type="submit" class="btn btn-primary me-sm-3 me-1 data-submit">Update</button>
                <button type="reset" class="btn btn-label-secondary" data-bs-dismiss="offcanvas">Batal</button>
            </div>
        </form>
    </div>
</div>