Skip to content

Commit

Permalink
Fix styling on summary
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic NEED authored and Dominic NEED committed May 20, 2024
1 parent 77f6b0b commit a3bd7a5
Showing 1 changed file with 29 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@

</dd>
</div>

@if (Model.HasSchoolApplied.ToLower().Equals("no") && Model.IsFormAMat.ToLower().Equals("no"))
{
<div class="govuk-summary-list__row" vis>
Expand All @@ -206,7 +206,7 @@
</div>
}
</dl>
</div>
</div>

@if (Model.Trust != null)
{
Expand Down Expand Up @@ -287,35 +287,35 @@
{
<div class="govuk-summary-list__row" isv>
<dt class="govuk-summary-list__key">
FAM Reference
</dt>
<dd class="govuk-summary-list__value" data-cy="a2b-reference">
@Model.FamReference
</dd>
<dd class="govuk-summary-list__actions">
<a asp-page="@Links.NewProject.LinkFormAMatProject.Page" class="govuk-link" data-cy="change-fam-reference"
asp-all-route-data="@backLinkRouteParams">
Change<span class="govuk-visually-hidden">FAM reference</span>
</a>
</dd>
</div>
FAM Reference
</dt>
<dd class="govuk-summary-list__value" data-cy="a2b-reference">
@Model.FamReference
</dd>
<dd class="govuk-summary-list__actions">
<a asp-page="@Links.NewProject.LinkFormAMatProject.Page" class="govuk-link" data-cy="change-fam-reference"
asp-all-route-data="@backLinkRouteParams">
Change<span class="govuk-visually-hidden">FAM reference</span>
</a>
</dd>
</div>
}
@if (Model.ApplicationReference != null)
{
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">
A2B Reference
</dt>
<dd class="govuk-summary-list__value" data-cy="a2b-reference">
@Model.ApplicationReference
</dd>
<dd class="govuk-summary-list__actions">
<a asp-page="@Links.NewProject.LinkFormAMatProject.Page" class="govuk-link" data-cy="change-a2b-reference"
asp-all-route-data="@backLinkRouteParams">
Change<span class="govuk-visually-hidden">A2B reference</span>
</a>
</dd>
</div>
A2B Reference
</dt>
<dd class="govuk-summary-list__value" data-cy="a2b-reference">
@Model.ApplicationReference
</dd>
<dd class="govuk-summary-list__actions">
<a asp-page="@Links.NewProject.LinkFormAMatProject.Page" class="govuk-link" data-cy="change-a2b-reference"
asp-all-route-data="@backLinkRouteParams">
Change<span class="govuk-visually-hidden">A2B reference</span>
</a>
</dd>
</div>
}

</dl>
Expand All @@ -325,13 +325,14 @@



</div>

<div class="govuk-grid-column-two-thirds govuk-!-margin-bottom-9">

<div class="govuk-grid-column-two-thirds">
<form method="post">
<input type="hidden" value="@Model.Establishment.Urn" />
<input type="hidden" value="@Model.Trust?.Ukprn" />
<button class="govuk-button" type="submit" data-id="submit">Continue</button>
</form>

</div>
</div>

0 comments on commit a3bd7a5

Please sign in to comment.