<a class="collapse_title" data-bs-toggle="collapse" href="#collapseFilter{{$attribute->id}}" role="button" aria-expanded="false" aria-controls="collapseFilter{{$attribute->id}}">
    {{$attribute->name}}
</a>
<div class="collapse" id="collapseFilter{{$attribute->id}}">
    <div class="collapse_body">
        <div class="checkboxes">
            @foreach($choices as $choice)
                <div class="form-check mb-2">
                    <input class="form-check-input" onclick="filter()"  name="attributes[{{$main->id}}][choice_id][]" type="checkbox" value="{{$choice->id}}" id="styleCheck{{$choice->id}}">
                    <label class="form-check-label" for="styleCheck{{$choice->id}}">
                        {{$choice->currentLangauge->name}}
                    </label>
                </div>
            @endforeach
        </div>
    </div>
</div>

