{% csrf_token %} {% for item in items %}
Question {{ item.index|add:1 }}
{% if item.errors %} {% endif %} {% if item.dropped_fields %} {% endif %} {% if item.stripped_fields %} {% endif %}
Sources: {% if item.payload.sources %}{{ item.payload.sources|join:", " }}{% else %}None{% endif %}

M2M fields (click to exclude)

Green = will be created/attached. Click a value to exclude it (grey).

Finding: {% if item.resolved_m2m.finding %} {% for val in item.resolved_m2m.finding %} {% endfor %} {% endif %} {% if item.missing_map.finding %} {% for val in item.missing_map.finding %} {% endfor %} {% endif %} {% if item.missing_map.finding %}
Would create: {{ item.missing_map.finding|join:", " }}
{% endif %}
Structure: {% if item.resolved_m2m.structure %} {% for val in item.resolved_m2m.structure %} {% endfor %} {% endif %} {% if item.missing_map.structure %} {% for val in item.missing_map.structure %} {% endfor %} {% endif %} {% if item.missing_map.structure %}
Would create: {{ item.missing_map.structure|join:", " }}
{% endif %}
Condition: {% if item.resolved_m2m.condition %} {% for val in item.resolved_m2m.condition %} {% endfor %} {% endif %} {% if item.missing_map.condition %} {% for val in item.missing_map.condition %} {% endfor %} {% endif %} {% if item.missing_map.condition %}
Would create: {{ item.missing_map.condition|join:", " }}
{% endif %}
Presentation: {% if item.resolved_m2m.presentation %} {% for val in item.resolved_m2m.presentation %} {% endfor %} {% endif %} {% if item.missing_map.presentation %} {% for val in item.missing_map.presentation %} {% endfor %} {% endif %} {% if item.missing_map.presentation %}
Would create: {{ item.missing_map.presentation|join:", " }}
{% endif %}
Subspecialty: {% if item.resolved_m2m.subspecialty %} {% for val in item.resolved_m2m.subspecialty %} {% endfor %} {% endif %} {% if item.missing_map.subspecialty %} {% for val in item.missing_map.subspecialty %} {% endfor %} {% endif %} {% if item.missing_map.subspecialty %}
Would create: {{ item.missing_map.subspecialty|join:", " }}
{% endif %}
Category: {{ item.payload.category|default:'(none)' }}
{% endfor %}