Skip to content

Commit

Permalink
Merge pull request #723 from cabinetoffice/feature/exclusions-section…
Browse files Browse the repository at this point in the history
…-content-tweaks

Content tweaks for exclusions to better match prototype
  • Loading branch information
andymantell authored Oct 7, 2024
2 parents d88a7d9 + 75198b6 commit 38cfe8b
Show file tree
Hide file tree
Showing 5 changed files with 1,832 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</p>
<div class="govuk-inset-text">
If any exclusions apply to a person with significant control, such as a director or majority shareholder, make sure you have added them as a
<a target="" href="/organisation/@Model.OrganisationId/supplier-information/connected-person/declaration">connected person </a>.
<a href="/organisation/@Model.OrganisationId/supplier-information/connected-person/declaration">connected person</a>.
</div>
<p class="govuk-body">
You'll need to provide details about each exclusion, such as where it happened and who it applies to and upload any supporting documents you may have.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,15 @@

@if (Model.IsRequired)
{
RenderHeading();
<h1 class="govuk-heading-l">@Model.Heading</h1>
RenderDescription();
RenderField();
}
else
{
<fieldset class="govuk-fieldset">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
@{
RenderHeading();
}
<h1 class="govuk-fieldset__heading">@Model.Heading</h1>
</legend>
@{
RenderDescription();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</p>
}

<textarea class="govuk-textarea govuk-!-width-two-thirds govuk-js-character-count" rows="5" id="TextInput" name="TextInput" aria-describedby="TextInput-info">@Model.TextInput</textarea>
<textarea class="govuk-textarea govuk-js-character-count" rows="5" id="TextInput" name="TextInput" aria-describedby="TextInput-info">@Model.TextInput</textarea>

<div id="TextInput-info" class="govuk-hint govuk-character-count__message">
You can enter up to 10,000 characters
Expand Down
Loading

0 comments on commit 38cfe8b

Please sign in to comment.