821 - removing a few headers and adjusting the tests to accept an empty string

This commit is contained in:
Jonathan Bobel
2023-10-03 15:28:27 -04:00
parent 48c20c7966
commit fefa8288c4
4 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{% macro mapping_table(caption='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False) -%}
<table class="usa-table usa-table--borderless">
<table class="usa-table usa-table--borderless width-full">
<caption class="font-body-lg table-heading{{ ' usa-sr-only' if not caption_visible}}">
{{ caption }}
</caption>

View File

@@ -14,7 +14,6 @@
{% call mapping_table(
caption='General',
field_headings=['Label', 'Value', 'Action'],
field_headings_visible=False,
caption_visible=False
) %}

View File

@@ -13,7 +13,6 @@
<div class="body-copy-table">
{% call mapping_table(
caption='Your profile',
field_headings=['Label', 'Value', 'Action'],
field_headings_visible=False,
caption_visible=False
) %}