{% if user is not null %}
{{ user.name }} account_box
{% endif %}
Topics {% if userAccess.canManageUsers() %} Users {% endif %} {% if user is null %} Login {% else %} Logout {% endif %}

Edit topic

{% if error is not null %}
{{ error }}
{% endif %}
{% if topicAccess.canDelete(topic.category_id, topic.created_by) %} delete Delete topic {% endif %}
{% for image in images %} {% endfor %}