{{-- Accordion of help articles. Works without JavaScript (
). --}} @php $voted = session('help.voted', []); @endphp
@foreach ($articles as $a)
first && ($open ?? false)) open @endif> {{ $a->questionText() }} @if ($showTopic ?? false){{ $a->topicLabel() }}@endif
{{ $a->renderedAnswer() }}
@if (in_array($a->id, $voted, true)) Thanks for your feedback @else Was this helpful?
@csrf
@csrf
@endif
@endforeach