visavi/rotor

View on GitHub
resources/views/widgets/_topics.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
@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