@model GreenTree.Maschinenbestellungen.Web.Models.Rights.User.UserModel

@{
    ViewData["Title"] = "Benutzeranzeige";
}

<h1>Benutzeranzeige</h1>

<div>
    <h4>@Model.Lastname, @Model.Forename</h4>
    <hr />
    <dl class="row">
        <dt class = "col-sm-2">
            @Html.DisplayNameFor(model => model.Id)
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Id)
        </dd>
        <dt class = "col-sm-2">
            @Html.DisplayNameFor(model => model.Accountname)
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Accountname)
        </dd>
        <dt class = "col-sm-2">
            @Html.DisplayNameFor(model => model.Forename)
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Forename)
        </dd>
        <dt class = "col-sm-2">
            @Html.DisplayNameFor(model => model.Lastname)
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Lastname)
        </dd>
        <dt class = "col-sm-2">
            @Html.DisplayNameFor(model => model.Birthdate)
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Birthdate)
        </dd>
        <dt class = "col-sm-2">
            @Html.DisplayNameFor(model => model.Activated)
        </dt>
        <dd class = "col-sm-10">
            @Html.YesNoBadgeFor(model => model.Activated)
        </dd>
        <dt class = "col-sm-2">
            @Html.DisplayNameFor(model => model.Policies)
        </dt>
        <dd class = "col-sm-10">
            @Html.TokenBoxFor(model => model.Policies)
        </dd>
    </dl>
</div>
<div>
    @Html.ActionLink("Bearbeiten", "Edit", new { id = Model.Id }) |
    <a asp-action="Index">Zurück zur Liste</a>
</div>

@section Scripts {
    @{
		await Html.RenderPartialAsync("_TokenBoxLibPartial");
	}
}
