{% extends "base.html" %} {% block body_class %}page-bg bg-cabinets{% endblock %} {% block content %}

Кабинеты

{% if session.get('role') not in ('admin','storekeeper') %}
Режим просмотра: изменения доступны только администратору.
{% endif %} {% if session.get('role') in ('admin','storekeeper') %}
{% endif %} {% for building, rows in grouped.items() %}
Здание: {{ building if building else 'Без здания' }}
{% for row in rows %} {% endfor %}
Кабинет
{{ row.cabinet }}
{% endfor %} {% if session.get('role') in ('admin','storekeeper') %} {% endif %} {% endblock %}