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

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

init commit Elena

  • Property mode set to 100644
File size: 1.5 KB
Line 
1@page
2@model SetPasswordModel
3@{
4 ViewData["Title"] = "Set password";
5 ViewData["ActivePage"] = ManageNavPages.ChangePassword;
6}
7
8<h3>Set your password</h3>
9<partial name="_StatusMessage" for="StatusMessage" />
10<p class="text-info">
11 You do not have a local username/password for this site. Add a local
12 account so you can log in without an external login.
13</p>
14<div class="row">
15 <div class="col-md-6">
16 <form id="set-password-form" method="post">
17 <div asp-validation-summary="ModelOnly" class="text-danger" role="alert"></div>
18 <div class="form-floating mb-3">
19 <input asp-for="Input.NewPassword" class="form-control" autocomplete="new-password" placeholder="Please enter your new password."/>
20 <label asp-for="Input.NewPassword" class="form-label"></label>
21 <span asp-validation-for="Input.NewPassword" class="text-danger"></span>
22 </div>
23 <div class="form-floating mb-3">
24 <input asp-for="Input.ConfirmPassword" class="form-control" autocomplete="new-password" placeholder="Please confirm your new password."/>
25 <label asp-for="Input.ConfirmPassword" class="form-label"></label>
26 <span asp-validation-for="Input.ConfirmPassword" class="text-danger"></span>
27 </div>
28 <button type="submit" class="w-100 btn btn-lg btn-primary">Set password</button>
29 </form>
30 </div>
31</div>
32
33@section Scripts {
34 <partial name="_ValidationScriptsPartial" />
35}
Note: See TracBrowser for help on using the repository browser.