Email fields use type="email"

This commit is contained in:
Michael 2017-03-21 19:24:57 -04:00
parent c8461889c4
commit 9d07ca1df3
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
<hr />
@Html.ValidationSummary("", new { @class = "text-danger" })
<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", type = "email" })
<div class="col-md-10">
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
</div>

View file

@ -24,7 +24,7 @@
<div class="form-group">
@Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
<div class="col-md-10">
@Html.PasswordFor(m => m.Password, new { @class = "form-control" })
@Html.PasswordFor(m => m.Password, new { @class = "form-control", type = "email" })
@Html.ValidationMessageFor(m => m.Password, "", new { @class = "text-danger" })
</div>
</div>

View file

@ -14,7 +14,7 @@
<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" })
@Html.TextBoxFor(m => m.Email, new { @class = "form-control", type="email" })
</div>
</div>
<div class="form-group">