<form class="row g-3 auto-width form" method="post" id="form_data" action="{{ route('test-package-groups.store') }}">
    @csrf
    @method('post')
    <input type="hidden" value="{{ $id }}" name="test_package_id">

    <div class="col-md-12">
        <label for="name" class="form-label">Group Name
            <span class="text-danger"><b>*</b></span>
        </label>
        <input type="text" value="{{ old('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>
</form>