2022-09-08 08:04:32 -07:00

128 lines
4.8 KiB
Plaintext

@model Church.Net.Entity.NewVisitor
@{
ViewBag.Title = "Delete";
}
<div class="text-center g-mb-50--md">
<h2 class="h4 g-mb-0">
Are you sure you want to <span class="g-color-primary g-ml-5">DELETE</span> this?
</h2>
</div>
<div class="g-bg-img-hero g-bg-pos-top-center g-pos-rel g-z-index-1 g-mt-minus-100" style="background-image: url(/Images/svg/svg-bg5.svg);">
<div class="container g-pt-150 g-pb-30">
<div class="row">
<div class="col-xl-4 g-mb-30 order-md-1">
<img src="/NewVisitorsPics/@Html.Raw(Model.Id+".jpg")" class="img-fluid img-thumbnail" />
</div>
<div class="col-xl-8 g-mb-30 order-md-0">
<div class="row">
<div class="col-md-6 g-mb-20--md">
@Html.LabelFor(model => model.FirstName, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
<label class="d-block g-font-size-20 g-pl-30">
@Html.DisplayFor(model => model.FirstName)
</label>
</div>
<div class="col-md-6 g-mb-20--md">
@Html.LabelFor(model => model.LastName, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
<label class="d-block g-font-size-20 g-pl-30">
@Html.DisplayFor(model => model.LastName)
</label>
</div>
</div>
<div class="row">
<div class="col-md-6 g-mb-20--md">
@Html.LabelFor(model => model.Gender, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
<label class="d-block g-font-size-20 g-pl-30">
@Html.DisplayFor(model => model.Gender)
</label>
</div>
<div class="col-md-6 g-mb-20--md">
@Html.LabelFor(model => model.Phone, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
<label class="d-block g-font-size-20 g-pl-30">
@Html.DisplayFor(model => model.Phone)
</label>
</div>
</div>
<div class="row">
<div class="col-md-6 g-mb-20--md">
@Html.LabelFor(model => model.ComunityAppId, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
<label class="d-block g-font-size-20 g-pl-30">
@Html.DisplayFor(model => model.ComunityAppId)
</label>
</div>
<div class="col-md-6 g-mb-20--md">
@Html.LabelFor(model => model.VisitingDate, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
<label class="d-block g-font-size-20 g-pl-30">
@Html.DisplayFor(model => model.VisitingDate)
</label>
</div>
</div>
<div class="g-mb-20--md">
@Html.LabelFor(model => model.Note, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
<label class="d-block g-font-size-20 g-pl-30">
@Html.DisplayFor(model => model.Note)
</label>
</div>
<div class="g-mb-20--md">
@Html.LabelFor(model => model.Address, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
<label class="d-block g-font-size-20 g-pl-30">
@Html.DisplayFor(model => model.Address)
</label>
</div>
<div class="row">
<div class="col-sm-6 g-mt-30 g-mb-30">
@using (Html.BeginForm())
{
<div class="d-flex">
@Html.AntiForgeryToken()
<a class="btn btn-block u-shadow-v32 g-brd-black g-brd-2 g-color-black g-color-white--hover g-bg-transparent g-bg-black--hover g-font-size-16 g-rounded-30 g-py-10 mr-2 g-mt-0" href="@Url.Action("Index")">Back to List</a>
<button class="btn btn-block u-shadow-v32 g-brd-none g-color-white g-bg-black g-bg-primary--hover g-font-size-16 g-rounded-30 g-py-10 ml-2 g-mt-0" type="submit">Delete</button>
</div>
}
</div>
</div>
</div>
</div>
</div>
</div>