<form class="row g-3 auto-width form" method="post" id="form_data" action="{{ route('test-package-groups.update', $data->id) }}">
    @csrf
    @method('put')
    <div class="col-md-6">
        <label for="name" class="form-label">Group Name
            <span class="text-danger"><b>*</b></span>
        </label>
        <input type="text" value="{{ old('group_name', $data->group_name) }}" class="form-control group_name" name="group_name" aria-describedby="inputGroupPrepend">
        <span class="text-danger error_group_name" style="display:none;">This field is required.</span>
    </div>

    <div class="col-md-6">
        <label for="description" class="form-label">Priority
            <span class="text-danger"><b>*</b></span>
        </label>
        <input type="number" value="{{ old('priority', $data->priority) }}" class="form-control priority" name="priority" aria-describedby="inputGroupPrepend">
        <span class="text-danger error_priority" style="display:none;">This field is required.</span>
    </div>

    <div class="col-md-6">
        <label for="description" class="form-label">Page Break</label>
        <input class="form-check-input btn-lg page_break" name="page_break" type="checkbox" {{ $data->page_break=='1' ? 'checked' : ''}}>
    </div>

    <div class="col-md-6">
        <label for="description" class="form-label">Show In Report</label>
        <input class="form-check-input btn-lg show_report" name="show_in_report" type="checkbox" {{ $data->show_in_report=='1' ? 'checked' : ''}}>
    </div>
</form>