{% load i18n %}
<nav class="viewby">
    {% trans 'View by' %}
    <a href="" class="grid"><i class="icon-th"></i> {% trans 'Grid' %}</a>
    <a href="" class="list"><i class="icon-th-list"></i> {% trans 'List' %}</a>
</nav>
