Files
server/src/Admin/Views/Users/View.cshtml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
397 B
Plaintext
Raw Normal View History

2018-03-23 09:29:11 -04:00
@model UserViewModel
@{
ViewData["Title"] = "User: " + Model.Email;
2018-03-23 09:29:11 -04: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)
<form asp-action="Delete" asp-route-id="@Model.Id"
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>