Formatting
This commit is contained in:
@@ -17,6 +17,7 @@ namespace LeafWeb.WebCms.Models
|
|||||||
[DataType(DataType.Password)]
|
[DataType(DataType.Password)]
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
|
|
||||||
|
[Display(Name = "Verify New Password")]
|
||||||
[Required(ErrorMessage = "Password must match verify exactly")]
|
[Required(ErrorMessage = "Password must match verify exactly")]
|
||||||
[DataType(DataType.Password)]
|
[DataType(DataType.Password)]
|
||||||
[Compare("Password")]
|
[Compare("Password")]
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
@Html.EditorFor(m => loginModel.Password, "PasswordWithForgotLink")
|
@Html.EditorFor(m => loginModel.Password, "PasswordWithForgotLink")
|
||||||
@Html.ValidationSummary("loginModel", true)
|
@Html.ValidationSummary("loginModel", true)
|
||||||
|
|
||||||
<button class="btn btn-primary pull-right">Login</button>
|
<button class="btn btn-primary pull-right mt-3">Login</button>
|
||||||
@Html.HiddenFor(m => loginModel.RedirectUrl)
|
@Html.HiddenFor(m => loginModel.RedirectUrl)
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
@Html.EditorFor(m => m.PasswordVerify)
|
@Html.EditorFor(m => m.PasswordVerify)
|
||||||
<input type="submit" id="submit-form" class="d-none"/>
|
<input type="submit" id="submit-form" class="d-none"/>
|
||||||
}
|
}
|
||||||
<label for="submit-form" class="btn btn-primary pull-right">Reset</label>
|
<label for="submit-form" class="btn btn-primary pull-right">Reset Password</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user