{% if user %}
Практикум · C
{% if user.role == "teacher" %}
Лабораторные
Группы
{% else %}
Мои работы
{% endif %}
{{ user.name }}{% if user.role == "student" and user.group %} · {{ user.group }}{% endif %}
Сменить пароль
Выйти
{% endif %}
{% if flash %}
{{ flash }}
{% endif %} {% if error %}
{{ error }}
{% endif %} {% block content %}{% endblock %}