Line {{rejected.line_number}}: {{rejected.phone }} - {% endfor %} -
+ {% if template.additional_data %} + {{ banner( + "Remove these columns from your CSV file:" + ", ".join(template.missing_data), + type="dangerous" + ) }} + {% elif not upload_result.valid %} + {{ banner( + "Your CSV file contained missing or invalid data", + type="dangerous" + ) }} + {% endif %} - {% else %} +