<form class="row g-3 auto-width" method="post" action="{{ route('operation-categories.update', $data->id) }}">
    @csrf
    @method('put')
    <div class="col-md-12">
        <label for="symptoms_title" class="form-label">Category<span class="text-danger"><b>*</b></span></label>
        <input type="text" value="{{ $data->category }}" class="form-control category" name="category" aria-describedby="inputGroupPrepend" placeholder="Category">
        <span class="text-danger error_category" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="priority" class="form-label">Priority<span class="text-danger"><b>*</b></span></label>
        <input type="number" value="{{ $data->priority }}" class="form-control" name="priority" aria-describedby="inputGroupPrepend">
        <span class="text-danger error_priority" style="display:none;">This field is required.</span>
    </div>
</form>