From c3f347760ae93698940fd80831a716cc95c52727 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 1 Jul 2016 07:08:55 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20hide=20the=20example=20on=20the?= =?UTF-8?q?=20send=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit People missed this example because it was hidden in a `
` element. Perhaps the wording of the link wasn’t ideal, but we’ve tried two different varations of it (https://github.com/alphagov/notifications-admin/pull/640) Better not to hide things, than try to think of some text which will make people want to show them. Also adds some headings to chunk up this page a bit. --- app/templates/views/send.html | 54 ++++++++++++++++------------------- 1 file changed, 24 insertions(+), 30 deletions(-) diff --git a/app/templates/views/send.html b/app/templates/views/send.html index b66dfb639..67da7501f 100644 --- a/app/templates/views/send.html +++ b/app/templates/views/send.html @@ -39,36 +39,30 @@ )}} -
- +

Your file needs to look like this example

+
+ {% call(item, row_number) list_table( + example, + caption="Example", + caption_visible=False, + field_headings=[''] + column_headings + ) %} + {{ index_field(row_number - 1) }} + {% for column in item %} + {{ text_field(column) }} + {% endfor %} + {% endcall %} +
+ - -
+

Accepted file formats

+