From 5d7988650e191e83d1caa6a4966f33b46fe4cc1e Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Mon, 20 Apr 2015 23:12:18 +0200 Subject: [PATCH] Fixed view compilation issue. --- .../Orchard.DynamicForms/Views/Elements/EmailField.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.DynamicForms/Views/Elements/EmailField.cshtml b/src/Orchard.Web/Modules/Orchard.DynamicForms/Views/Elements/EmailField.cshtml index 8d2924aee..cf9b9215f 100644 --- a/src/Orchard.Web/Modules/Orchard.DynamicForms/Views/Elements/EmailField.cshtml +++ b/src/Orchard.Web/Modules/Orchard.DynamicForms/Views/Elements/EmailField.cshtml @@ -9,7 +9,7 @@ tagBuilder.Attributes["type"] = "email"; tagBuilder.Attributes["value"] = Model.TokenizedValue; tagBuilder.Attributes["name"] = element.Name; - tagBuilder.AddClientValidationAttributes(Model.ClientValidationAttributes); + tagBuilder.AddClientValidationAttributes((IDictionary)Model.ClientValidationAttributes); if (!ViewData.ModelState.IsValidField(element.Name)) { tagBuilder.AddCssClass("input-validation-error");