<div class="alert alert-info">Imported {{ created }} questions.</div>
{% if errors %}
  <div class="alert alert-danger">
    <h5>Errors</h5>
    <ul>
      {% for e in errors %}
        <li>Item {{ e.index }}: {{ e.errors|join:', ' }}</li>
      {% endfor %}
    </ul>
  </div>
{% endif %}
{% if actually_created %}
  <div class="alert alert-secondary">
    <h5>Created M2M records</h5>
    <ul>
      {% for k,v in actually_created.items %}
        <li>{{ k }}: {{ v|join:', ' }}</li>
      {% endfor %}
    </ul>
  </div>
{% endif %}
