{% load tags %} {% if compact or data.metadata.compact or request.GET.compact or request|mobile %} {% include "queryset/cards.html" with compact=True %} {% else %} {% if data.data %}
{% with image_key=data.data.0.data|image_key %} {% for row in data.data %}
{% if image_key %} {% for k, v in row.data.items %} {% if k == image_key %} {% endif %} {% endfor %} {% endif %}
{{ row.description }}
{% include "queryset/checkbox.html" %}
{% for k, v in row.data.items %} {% if k != image_key %}
{{ v.name }}
{% include 'valueset/value.html' %}
{% endif %} {% endfor %}
{% include "dashboard/actions.html" with uuid=data.uuid target="instance" actions=data.actions.instance id=row.id|stringformat:'s' enabled=row.actions %}
{% endfor %} {% endwith %}
{% else %} {% endif %} {% endif %}