source: PostgreSqlDotnetCore/Areas/Identity/Pages/Account/Register.cshtml@ 784b3ad

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

init commit Elena

  • Property mode set to 100644
File size: 1.7 KB
Line 
1@page
2@model RegisterModel
3@{
4 ViewData["Title"] = "Register";
5}
6
7<h1>@ViewData["Title"]</h1>
8
9<div class="row">
10 <div class="col-md-4">
11 <form id="registerForm" asp-route-returnUrl="@Model.ReturnUrl" method="post">
12 <h2>Create a new account.</h2>
13 <hr />
14 <div asp-validation-summary="ModelOnly" class="text-danger" role="alert"></div>
15 <div class="form-floating mb-3">
16 <input asp-for="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="name@example.com" />
17 <label asp-for="Input.Email">Email</label>
18 <span asp-validation-for="Input.Email" class="text-danger"></span>
19 </div>
20 <div class="form-floating mb-3">
21 <input asp-for="Input.Password" class="form-control" autocomplete="new-password" aria-required="true" placeholder="password" />
22 <label asp-for="Input.Password">Password</label>
23 <span asp-validation-for="Input.Password" class="text-danger"></span>
24 </div>
25 <div class="form-floating mb-3">
26 <input asp-for="Input.ConfirmPassword" class="form-control" autocomplete="new-password" aria-required="true" placeholder="password" />
27 <label asp-for="Input.ConfirmPassword">Confirm Password</label>
28 <span asp-validation-for="Input.ConfirmPassword" class="text-danger"></span>
29 </div>
30 <button id="registerSubmit" type="submit" class="w-100 btn btn-lg btn-primary">Register</button>
31 </form>
32 </div>
33</div>
34
35@section Scripts {
36 <partial name="_ValidationScriptsPartial" />
37}
Note: See TracBrowser for help on using the repository browser.