diff --git a/sbas/templates/sbas/partials/import_preview.html b/sbas/templates/sbas/partials/import_preview.html index ea8f7a5a..ad703921 100644 --- a/sbas/templates/sbas/partials/import_preview.html +++ b/sbas/templates/sbas/partials/import_preview.html @@ -1,21 +1,19 @@ {% for item in items %}
-
Question {{ item.index }}
- {% with payload=payloads|slice:item.index|first %} - {% if payload %} -

Stem: {{ payload.stem|default:''|safe }}

-

Answers: -

-

- {% endif %} - {% endwith %} +
Question {{ item.index|add:1 }}
+ {% if item.payload %} +

Stem: {{ item.payload.stem|default:''|safe }}

+

Answers: +

+

+ {% endif %}

Missing M2M: {% if item.missing_m2m %}