<ul class="tabnav el">
    <li class="{{ routeName() == 'admin-reviews' ? 'selected' : '' }}">
        <a href="{{ route('admin-reviews') }}">
            Manage
        </a>
    </li>
    <li class="{{ routeName() == 'admin-reviews-edit' and not review.id ? 'selected' : '' }}">
        <a href="{{ route('admin-reviews-edit') }}">
            Add
        </a>
    </li>
    {% if review is not empty and review.id and routeName() == 'admin-reviews-edit' %}
        <li class="selected">
            <a href="{{ route('admin-reviews-edit', {
                id : review.id,
            }) }}">
                Edit
            </a>
        </li>
    {% endif %}
</ul>