Start row numbers from 2

Because row 1 will be the column headers when you look at a CSV file in Excel.
This commit is contained in:
Chris Hill-Scott
2016-03-10 12:10:17 +00:00
parent 00fdb658c6
commit 41b278359c

View File

@@ -74,10 +74,10 @@
{% call(item) list_table(
recipients.rows_annotated_and_truncated,
caption=original_file_name,
field_headings=['Row'] + recipients.column_headers_with_placeholders_highlighted
field_headings=['1'] + recipients.column_headers_with_placeholders_highlighted
) %}
{% call field() %}
{{ item.index + 1 }}
{{ item.index + 2 }}
{% endcall %}
{% for column in recipients.column_headers %}
{% if item[column].error %}