mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
93 lines
2.8 KiB
Plaintext
93 lines
2.8 KiB
Plaintext
@model Marechai.Database.Models.Person
|
|
|
|
@{
|
|
ViewData["Title"] = "Delete";
|
|
}
|
|
|
|
<h1>Delete</h1>
|
|
|
|
<h3>Are you sure you want to delete this?</h3>
|
|
<div>
|
|
<h4>Person</h4>
|
|
<hr />
|
|
<dl class="row">
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Name)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.Name)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Surname)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.Surname)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Alias)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.Alias)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.DisplayName)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.DisplayName)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.CountryOfBirth)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.CountryOfBirth.Name)
|
|
</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.DeathDate)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.DeathDate)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Webpage)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.Webpage)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Twitter)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@if(Model.Twitter != null)
|
|
{
|
|
<a href="https://twitter.com/@Html.DisplayFor(model => model.Twitter)">@Html.DisplayFor(model => model.Twitter)</a>
|
|
}
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Facebook)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@if(Model.Facebook != null)
|
|
{
|
|
<a href="https://www.facebook.com/@Html.DisplayFor(model => model.Facebook)">@Html.DisplayFor(model => model.Facebook)</a>
|
|
}
|
|
</dd>
|
|
</dl>
|
|
|
|
<form asp-action="Delete">
|
|
<input type="hidden"
|
|
asp-for="Id" />
|
|
<input class="btn btn-danger"
|
|
type="submit"
|
|
value="Delete" />
|
|
<a asp-action="Index"
|
|
class="btn btn-secondary">
|
|
Back to List
|
|
</a>
|
|
</form>
|
|
</div> |