2018-03-23 09:29:11 -04:00
|
|
|
@model UserViewModel
|
|
|
|
|
@{
|
2024-09-30 13:21:30 -05:00
|
|
|
ViewData["Title"] = "User: " + Model.Email;
|
2018-03-23 09:29:11 -04:00
|
|
|
}
|
|
|
|
|
|
2024-09-30 13:21:30 -05:00
|
|
|
<h1>User <small>@Model.Email</small></h1>
|
2018-03-23 09:29:11 -04:00
|
|
|
|
|
|
|
|
<h2>Information</h2>
|
2018-08-06 22:40:44 -04:00
|
|
|
@await Html.PartialAsync("_ViewInformation", Model)
|
2024-09-30 13:21:30 -05:00
|
|
|
<form asp-action="Delete" asp-route-id="@Model.Id"
|
2021-11-09 12:13:23 -05:00
|
|
|
onsubmit="return confirm('Are you sure you want to delete this user?')">
|
2018-03-23 09:29:11 -04:00
|
|
|
<button class="btn btn-danger" type="submit">Delete</button>
|
|
|
|
|
</form>
|