{% load render_table from django_tables2 %} {% if table.rows %} {% for row in table.rows %} {% for column, cell in row.items %} {{ cell }} {% endfor %} {% endfor %} {% else %}
ERROR: No table rows found for device {{ record.device_id }}
{% endif %} {# Toast messages are appended once per HTMX response by the calling view via _attach_messages_oob() so multi-row OOB swaps don't wipe each other's #django-messages container. Do not include 'inc/messages.html' here. #}