From da39089abf59284ad89e6b19c2bbcca36b8ba848 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 11 Apr 2017 10:30:07 -0400 Subject: [PATCH] Move the validation summary into a panel --- Project-Unite/Views/Account/Register.cshtml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Project-Unite/Views/Account/Register.cshtml b/Project-Unite/Views/Account/Register.cshtml index 52dfce1..e8f43a4 100644 --- a/Project-Unite/Views/Account/Register.cshtml +++ b/Project-Unite/Views/Account/Register.cshtml @@ -10,8 +10,12 @@ @Html.AntiForgeryToken()

Create a new account.


- @Html.ValidationSummary("", new { @class = "text-danger" }) -
+
+
+ @Html.ValidationSummary() +
+
+
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
@Html.TextBoxFor(m => m.Email, new { @class = "form-control", type="email" })