diff options
| author | Michael <[email protected]> | 2017-04-11 10:30:07 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-11 10:30:07 -0400 |
| commit | da39089abf59284ad89e6b19c2bbcca36b8ba848 (patch) | |
| tree | 21729bbe8d00c980af6d6b7a2612b98899ed9383 | |
| parent | 280dcd22e65afdb6ccedf4ac2a68616c18d11938 (diff) | |
| download | project-unite-da39089abf59284ad89e6b19c2bbcca36b8ba848.tar.gz project-unite-da39089abf59284ad89e6b19c2bbcca36b8ba848.tar.bz2 project-unite-da39089abf59284ad89e6b19c2bbcca36b8ba848.zip | |
Move the validation summary into a panel
| -rw-r--r-- | Project-Unite/Views/Account/Register.cshtml | 8 |
1 files 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() <h4>Create a new account.</h4> <hr /> - @Html.ValidationSummary("", new { @class = "text-danger" }) - <div class="form-group"> + <div class="panel panel-danger"> + <div class="panel-body"> + @Html.ValidationSummary() + </div> + </div> + <div class="form-group"> @Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" }) <div class="col-md-10"> @Html.TextBoxFor(m => m.Email, new { @class = "form-control", type="email" }) |
