{% if invalid_rows %} {% for header in col_headers %} {% endfor %} {% for row in invalid_rows %} {% for cell in row %} {{ cell.0 }} {% endfor %} {% endfor %}
{% if header == 'None' %} --- {% else %} {{ header }} {% endif %}
{% else %}

No rows on the first sheet of the uploaded excel file!

{% endif %}