{% load i18n %}{% comment %} One node of a panel's declared ``layout`` (see vantage.layout: Row, Section, Tab, Tabs), already resolved against this form's actual fields by PanelFormView.get_layout. Recurses over ``node.children`` — a container node includes itself for each child, a leaf field node renders through partials/field.html the same way the fixed-section layout does, so the two paths can never draw a field two different ways. ``node`` uses the key "node" for its own shape (tabs / tab / row / section / field) because a field entry already uses "kind" for its own meaning, the field's FieldKind — the two must not collide. {% endcomment %} {% if node.node == "field" %} {% include "vantage/partials/field.html" with field=node.field %} {% elif node.node == "row" %}
{{ node.description }}
{% endif %}{{ node.description }}
{% endif %}