Merge pull request #1135 from alphagov/fix-recipient-column-error

Fix error message when recipient column missing
This commit is contained in:
Chris Hill-Scott
2017-02-16 15:33:24 +00:00
committed by GitHub
2 changed files with 38 additions and 1 deletions

View File

@@ -41,7 +41,11 @@
<div class="bottom-gutter">
{% call banner_wrapper(type='dangerous') %}
<h1 class='banner-title'>
Your file needs to have a column called {{ recipients.recipient_column_header }}
Your file needs to have {{ formatted_list(
recipients.recipient_column_headers,
prefix='a column called',
prefix_plural='columns called'
) }}
</h1>
<p>
Your file has {{ formatted_list(