Add field headings to table

Headings are good for accessibility. They also are what adds the grey
border to the top of the first row in the table.
This commit is contained in:
Chris Hill-Scott
2019-12-31 10:24:39 +00:00
parent 57ca75f5bc
commit 9c3315f194

View File

@@ -15,7 +15,9 @@
data,
caption="Returned letters report",
caption_visible=False,
empty_message='If you have returned letter reports they will be listed here'
empty_message='If you have returned letter reports they will be listed here',
field_headings=['Report'],
field_headings_visible=False
) %}
{% call field() %}
<a download class="govuk_link file-list-filename"