From 89e00db48683dcf79ff274446236c82a6e3e81de Mon Sep 17 00:00:00 2001 From: kevwhitt-hee Date: Thu, 25 Aug 2022 14:01:31 +0100 Subject: [PATCH] DLSV2-548 Adds id to error div in view components --- .../Views/Shared/Components/NumericInput/Default.cshtml | 2 +- .../Views/Shared/Components/TextArea/Default.cshtml | 2 +- .../Views/Shared/Components/TextInput/Default.cshtml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DigitalLearningSolutions.Web/Views/Shared/Components/NumericInput/Default.cshtml b/DigitalLearningSolutions.Web/Views/Shared/Components/NumericInput/Default.cshtml index 1df820fed2..91ecf9f654 100644 --- a/DigitalLearningSolutions.Web/Views/Shared/Components/NumericInput/Default.cshtml +++ b/DigitalLearningSolutions.Web/Views/Shared/Components/NumericInput/Default.cshtml @@ -24,7 +24,7 @@ } @if (Model.HasError) { -
+
@foreach (var errorMessage in Model.ErrorMessages) { diff --git a/DigitalLearningSolutions.Web/Views/Shared/Components/TextArea/Default.cshtml b/DigitalLearningSolutions.Web/Views/Shared/Components/TextArea/Default.cshtml index c0ad67328f..8eabd3313a 100644 --- a/DigitalLearningSolutions.Web/Views/Shared/Components/TextArea/Default.cshtml +++ b/DigitalLearningSolutions.Web/Views/Shared/Components/TextArea/Default.cshtml @@ -29,7 +29,7 @@ } @if (Model.HasError) { -
+
@foreach (var errorMessage in Model.ErrorMessages) { diff --git a/DigitalLearningSolutions.Web/Views/Shared/Components/TextInput/Default.cshtml b/DigitalLearningSolutions.Web/Views/Shared/Components/TextInput/Default.cshtml index 9ffbd38631..5aeca9c0ea 100644 --- a/DigitalLearningSolutions.Web/Views/Shared/Components/TextInput/Default.cshtml +++ b/DigitalLearningSolutions.Web/Views/Shared/Components/TextInput/Default.cshtml @@ -24,7 +24,7 @@ } @if (Model.HasError) { -
+
@foreach (var errorMessage in Model.ErrorMessages) {