{% extends "base.html" %} {% block header %}{{ title }}{% endblock header %} {% block content %} {% if links|length > 0 %} Действия: {% for link_name, link in links.items %}{{ link_name }}{% if links|length > 1 and forloop.counter != links|length %}, {% endif %}{% endfor %} {% endif %} {% for head in heads %} {% endfor %} {% for row in rows %} {% for cell in row|slice:"1:" %} {% if forloop.counter0 == 0 %} {% else %} {% endif %} {% endfor %} {% endfor %}
{{ head }}
{{ cell|default:"..." }}{{ cell|default:"..." }}
{% endblock content %}