Skip to content

Commit 41f6758

Browse files
committed
TD-5308- Added maximum length to input control
1 parent 2eaa6b2 commit 41f6758

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DigitalLearningSolutions.Web/Views/CompetencyAssessments/EditBranding.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424

2525
<h1>Edit @Model.CompetencyAssessmentName provider and category</h1>
26-
<p>This will be visible to users when they browse assessments. It wiull help them to identify where the assessment is from and what it contains.</p>
26+
<p>This will be visible to users when they browse assessments. It will help them to identify where the assessment is from and what it contains.</p>
2727
<form method="post">
2828
@if (!ViewData.ModelState.IsValid)
2929
{
@@ -40,7 +40,7 @@
4040
<label class="nhsuk-label" for="brand-field">
4141
New provider name
4242
</label>
43-
<input type="text" id="brand-field" name="Brand" class="nhsuk-input nhsuk-u-width-two-thirds" asp-for="Brand" />
43+
<input type="text" id="brand-field" name="Brand" maxlength="50" class="nhsuk-input nhsuk-u-width-two-thirds" asp-for="Brand" />
4444
</div>
4545
</nhs-form-group>
4646
<nhs-form-group nhs-validation-for="CategoryID">
@@ -54,7 +54,7 @@
5454
<label class="nhsuk-label" for="category-field">
5555
New category name
5656
</label>
57-
<input type="text" id="category-field" name="Category" class="nhsuk-input nhsuk-u-width-two-thirds" asp-for="Category" />
57+
<input type="text" id="category-field" name="Category" maxlength="100" class="nhsuk-input nhsuk-u-width-two-thirds" asp-for="Category" />
5858
</div>
5959
</nhs-form-group>
6060
<nhs-form-group>

0 commit comments

Comments
 (0)