Просмотр файла resources/views/widgets/_topics.blade.php

Размер файла: 332B
@if ($topics->isNotEmpty())
    <div class="section-body">
    @foreach ($topics as $topic)
        <i class="far fa-circle fa-lg text-muted"></i>  <a href="/topics/{{ $topic->id }}">{{ $topic->title }}</a> ({{ $topic->count_posts }})
        <a href="/topics/end/{{ $topic->id }}">&raquo;</a><br>
    @endforeach
    </div>
@endif