source: PostgreSqlDotnetCore/Areas/Identity/Pages/Account/Manage/ChangePassword.cshtml

main
Last change on this file was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 4 months ago

init commit Elena

  • Property mode set to 100644
File size: 1.8 KB
Line 
1@page
2@model ChangePasswordModel
3@{
4 ViewData["Title"] = "Change password";
5 ViewData["ActivePage"] = ManageNavPages.ChangePassword;
6}
7
8<h3>@ViewData["Title"]</h3>
9<partial name="_StatusMessage" for="StatusMessage" />
10<div class="row">
11 <div class="col-md-6">
12 <form id="change-password-form" method="post">
13 <div asp-validation-summary="ModelOnly" class="text-danger" role="alert"></div>
14 <div class="form-floating mb-3">
15 <input asp-for="Input.OldPassword" class="form-control" autocomplete="current-password" aria-required="true" placeholder="Please enter your old password." />
16 <label asp-for="Input.OldPassword" class="form-label"></label>
17 <span asp-validation-for="Input.OldPassword" class="text-danger"></span>
18 </div>
19 <div class="form-floating mb-3">
20 <input asp-for="Input.NewPassword" class="form-control" autocomplete="new-password" aria-required="true" placeholder="Please enter your new password." />
21 <label asp-for="Input.NewPassword" class="form-label"></label>
22 <span asp-validation-for="Input.NewPassword" class="text-danger"></span>
23 </div>
24 <div class="form-floating mb-3">
25 <input asp-for="Input.ConfirmPassword" class="form-control" autocomplete="new-password" aria-required="true" placeholder="Please confirm your new password."/>
26 <label asp-for="Input.ConfirmPassword" class="form-label"></label>
27 <span asp-validation-for="Input.ConfirmPassword" class="text-danger"></span>
28 </div>
29 <button type="submit" class="w-100 btn btn-lg btn-primary">Update password</button>
30 </form>
31 </div>
32</div>
33
34@section Scripts {
35 <partial name="_ValidationScriptsPartial" />
36}
Note: See TracBrowser for help on using the repository browser.