Skip to content

Commit

Permalink
feat(DTFS2-7779): update label html
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Roberts committed Jan 28, 2025
1 parent af18248 commit 2d75f40
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions gef-ui/templates/partials/amendments/facility-value.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@
New facility value
{%- endblock %}

{% set headingHtml %}
<h1 class="govuk-caption-l" data-cy="heading-caption">
{{ exporterName }}, {{ facilityType }} facility
</h1>

<h2 class="govuk-heading-xl govuk-!-margin-bottom-6 govuk-!-margin-top-1" data-cy="page-heading">
New facility value
</h2>
{% endset %}

{% block content %}
{% if errors %}
{{ govukErrorSummary({
Expand All @@ -44,12 +34,19 @@
<input type="hidden" name="_csrf" value="{{ csrfToken }}">
<input type="hidden" name="previousPage" value="{{ previousPage }}">

<h1 class="govuk-caption-l" data-cy="heading-caption">
{{ exporterName }}, {{ facilityType }} facility
</h1>

<h2 class="govuk-label-wrapper">
<label class="govuk-heading-xl govuk-!-margin-bottom-6 govuk-!-margin-top-1" data-cy="page-heading" for="facilityValue">
New facility value
</label>
</h2>

{{ govukInput({
id: "facilityValue",
classes: "govuk-input--width-10",
label: {
html: headingHtml
},
name: "facilityValue",
value: facilityValue,
prefix: {
Expand Down

0 comments on commit 2d75f40

Please sign in to comment.