From 2572120c143beab931f1a98e67a5c6c7f2c57a69 Mon Sep 17 00:00:00 2001 From: Swapnamol Abraham Date: Wed, 17 Jul 2024 09:15:42 +0100 Subject: [PATCH] TD-3951: Corrected the error messages --- LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs b/LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs index 8472ceb4a..18801abeb 100644 --- a/LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs @@ -30,7 +30,7 @@ public class EditBookmarkViewModel /// /// Gets or sets Title. /// - [Required(AllowEmptyStrings = false, ErrorMessage = "You must edit bookmark name")] + [Required(AllowEmptyStrings = false, ErrorMessage = "You must enter a bookmark name")] [MinLength(2, ErrorMessage = "The bookmark name must be at least 2 characters")] [MaxLength(60, ErrorMessage = "The bookmark name must be no more than 60 characters")] public string Title { get; set; }