{% extends "base.html" %} {% block title %}{{ guardian.name }} - Guardian{% endblock %} {% block content %}
Структура Guardian:
Guardian {{ guardian.name }}
├── Core: 1
└── Modules: {{ modules|length }}
    {% for m in modules %}
    - {{ m.module.name }} × {{ m.quantity }}
    {% endfor %}
Core
{% if core %}
{{ core.quantity }}
Количество Core (только 1 допускается)
{% else %}
Core отсутствует! Guardian должен иметь ровно один Core.
{% endif %}
Модули
{% for m in modules %} {% else %} {% endfor %}
Модуль Количество Description
{{ m.module.name }} {{ m.quantity }} {{ m.module.description if m.module.description else 'N/A' }}
Модули отсутствуют
К System
{% endblock %}