Formatting for new users
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<div class="col-lg-4 card card-body bg-light">
|
||||
@using (Html.BeginUmbracoForm<UmbLoginController>("HandleLogin"))
|
||||
{
|
||||
@Html.EditorFor(m => loginModel.Username)
|
||||
@Html.EditorFor(m => loginModel.Username, new {labelText = "Email"})
|
||||
@Html.EditorFor(m => loginModel.Password, "PasswordWithForgotLink")
|
||||
@Html.ValidationSummary("loginModel", true)
|
||||
|
||||
|
||||
@@ -42,11 +42,11 @@ else
|
||||
{
|
||||
@Html.ValidationSummary(false)
|
||||
|
||||
@Html.EditorFor(m => registerModel.Name)
|
||||
@Html.EditorFor(m => registerModel.Name, new {labelText = "User Email"})
|
||||
@Html.EditorFor(m => registerModel.Email, new { type = "email"})
|
||||
@Html.EditorFor(m => registerModel.Password, "Password")
|
||||
<div class="form-group verifyPassword">
|
||||
@Html.Label("VerifyPassword")
|
||||
@Html.Label("Verify Password")
|
||||
@Html.Password("VerifyPassword", null, new { @class = "form-control" })
|
||||
@Html.ValidationMessage("VerifyPassword", "", new { @class = "text-danger" })
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user