Skip to content

Commit

Permalink
PI-1939 - remove empty header from sentence page
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Mar 25, 2024
1 parent 6772391 commit 97995b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/views/partials/case.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
{% block content %}
{% include "../partials/case-user-banner.njk" %}
{% include "../partials/case-nav.njk" %}
<h1 class="govuk-heading-l govuk-!-margin-bottom-7" data-qa="pageHeading">{{ currentSectionName }}</h1>
{% if currentSectionName %}
<h1 class="govuk-heading-l govuk-!-margin-bottom-7" data-qa="pageHeading">{{ currentSectionName }}</h1>
{% endif %}
{% if warnings.length %}
{{ govukErrorSummary({ titleText: "There is a problem", errorList: warnings }) }}
{% endif %}
Expand Down

0 comments on commit 97995b4

Please sign in to comment.