mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 17:22:15 +00:00
Move the validation summary into a panel
This commit is contained in:
parent
280dcd22e6
commit
da39089abf
1 changed files with 6 additions and 2 deletions
|
@ -10,8 +10,12 @@
|
||||||
@Html.AntiForgeryToken()
|
@Html.AntiForgeryToken()
|
||||||
<h4>Create a new account.</h4>
|
<h4>Create a new account.</h4>
|
||||||
<hr />
|
<hr />
|
||||||
@Html.ValidationSummary("", new { @class = "text-danger" })
|
<div class="panel panel-danger">
|
||||||
<div class="form-group">
|
<div class="panel-body">
|
||||||
|
@Html.ValidationSummary()
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
@Html.TextBoxFor(m => m.Email, new { @class = "form-control", type="email" })
|
@Html.TextBoxFor(m => m.Email, new { @class = "form-control", type="email" })
|
||||||
|
|
Loading…
Reference in a new issue