1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05:00
bitwarden/src/Admin/Views/Users/View.cshtml

14 lines
412 B
Plaintext

@model UserViewModel
@{
ViewData["Title"] = "User: " + Model.User.Email;
}
<h1>User <small>@Model.User.Email</small></h1>
<h2>Information</h2>
@await Html.PartialAsync("_ViewInformation", Model)
<form asp-action="Delete" asp-route-id="@Model.User.Id"
onsubmit="return confirm('Are you sure you want to delete this user?')">
<button class="btn btn-danger" type="submit">Delete</button>
</form>