mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
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:
@@ -74,10 +74,10 @@
|
|||||||
{% call(item) list_table(
|
{% call(item) list_table(
|
||||||
recipients.rows_annotated_and_truncated,
|
recipients.rows_annotated_and_truncated,
|
||||||
caption=original_file_name,
|
caption=original_file_name,
|
||||||
field_headings=['Row'] + recipients.column_headers_with_placeholders_highlighted
|
field_headings=['1'] + recipients.column_headers_with_placeholders_highlighted
|
||||||
) %}
|
) %}
|
||||||
{% call field() %}
|
{% call field() %}
|
||||||
{{ item.index + 1 }}
|
{{ item.index + 2 }}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% for column in recipients.column_headers %}
|
{% for column in recipients.column_headers %}
|
||||||
{% if item[column].error %}
|
{% if item[column].error %}
|
||||||
|
|||||||
Reference in New Issue
Block a user