source: PostgreSqlDotnetCore/Areas/Identity/Pages/Account/Manage/DeletePersonalData.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.1 KB
Line 
1@page
2@model DeletePersonalDataModel
3@{
4 ViewData["Title"] = "Delete Personal Data";
5 ViewData["ActivePage"] = ManageNavPages.PersonalData;
6}
7
8<h3>@ViewData["Title"]</h3>
9
10<div class="alert alert-warning" role="alert">
11 <p>
12 <strong>Deleting this data will permanently remove your account, and this cannot be recovered.</strong>
13 </p>
14</div>
15
16<div>
17 <form id="delete-user" method="post">
18 <div asp-validation-summary="ModelOnly" class="text-danger" role="alert"></div>
19 @if (Model.RequirePassword)
20 {
21 <div class="form-floating mb-3">
22 <input asp-for="Input.Password" class="form-control" autocomplete="current-password" aria-required="true" placeholder="Please enter your password." />
23 <label asp-for="Input.Password" class="form-label"></label>
24 <span asp-validation-for="Input.Password" class="text-danger"></span>
25 </div>
26 }
27 <button class="w-100 btn btn-lg btn-danger" type="submit">Delete data and close my account</button>
28 </form>
29</div>
30
31@section Scripts {
32 <partial name="_ValidationScriptsPartial" />
33}
Note: See TracBrowser for help on using the repository browser.