Skip to content

Commit 40d7cac

Browse files
committed
TD-6277 nhsuk-back-link to nhsuk-link
1 parent 119c57c commit 40d7cac

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

DigitalLearningSolutions.Web/Views/Shared/Components/BackLink/Default.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@using NHSUKViewComponents.Web.ViewModels
22
@model LinkViewModel
33

4-
<div class="nhsuk-link">
4+
<div class="nhsuk-back-link">
55
<a class="nhsuk-back-link__link" asp-controller="@Model.AspController" asp-action="@Model.AspAction" asp-all-route-data="@Model.AspAllRouteData">
66
<svg class="nhsuk-icon nhsuk-icon__chevron-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true">
77
<path d="M8.5 12c0-.3.1-.5.3-.7l5-5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L10.9 12l4.3 4.3c.4.4.4 1 0 1.4s-1 .4-1.4 0l-5-5c-.2-.2-.3-.4-.3-.7z"></path>

DigitalLearningSolutions.Web/Views/Shared/Components/CancelLink/Default.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<link rel="stylesheet" href="@Url.Content("~/css/shared/components/cancelLink.css")" asp-append-version="true">
55

6-
<div class="nhsuk-link">
6+
<div class="nhsuk-back-link">
77
<a class="nhsuk-back-link__link" asp-controller="@Model.AspController" asp-action="@Model.AspAction" asp-all-route-data="@Model.AspAllRouteData">
88
<svg class="nhsuk-icon nhsuk-icon__close" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
99
<path d="M13.41 12l5.3-5.29a1 1 0 1 0-1.42-1.42L12 10.59l-5.29-5.3a1 1 0 0 0-1.42 1.42l5.3 5.29-5.3 5.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l5.29-5.3 5.29 5.3a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42z"></path>

DigitalLearningSolutions.Web/Views/Shared/Components/Checkboxes/Default.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
}
3030

31-
<div class="nhsuk-checkboxes">
31+
<div class="nhsuk-checkboxes" data-module="nhsuk-checkboxes">
3232
@foreach (var checkbox in Model.Checkboxes)
3333
{
3434
if (!string.IsNullOrWhiteSpace(Model.Class))

DigitalLearningSolutions.Web/Views/Shared/_CheckboxItem.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
}
1717
}
18-
<div class="nhsuk-checkboxes">
18+
<div class="nhsuk-checkboxes" data-module="nhsuk-checkboxes">
1919
<div class="nhsuk-checkboxes__item @(Model.HintText == null ? "nhsuk-u-margin-bottom-4" : "")">
2020
<input class="nhsuk-checkboxes__input"
2121
id="@Model.Id"

0 commit comments

Comments
 (0)