@model Church.Net.Entity.NewVisitor @{ ViewBag.Title = "Edit"; }

Edit NewVisitor

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.LabelFor(model => model.FirstName, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.EditorFor(model => model.FirstName, new { htmlAttributes = new { @class = "form-control u-shadow-v19 g-brd-none g-bg-white g-font-size-16 g-rounded-30 g-px-30 g-py-13 g-mb-30", placeholder = "" } }) @Html.ValidationMessageFor(model => model.FirstName, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.LastName, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.EditorFor(model => model.LastName, new { htmlAttributes = new { @class = "form-control u-shadow-v19 g-brd-none g-bg-white g-font-size-16 g-rounded-30 g-px-30 g-py-13 g-mb-30", placeholder = "" } }) @Html.ValidationMessageFor(model => model.LastName, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Gender, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.EnumDropDownListFor(model => model.Gender, htmlAttributes: new { @class = "w-100 u-select-v2 u-shadow-v19 g-brd-none g-color-black g-color-primary--hover g-bg-white text-left g-rounded-30 g-pl-30 g-py-12" }) @Html.ValidationMessageFor(model => model.Gender, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Phone, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.EditorFor(model => model.Phone, new { htmlAttributes = new { @class = "form-control u-shadow-v19 g-brd-none g-bg-white g-font-size-16 g-rounded-30 g-px-30 g-py-13 g-mb-30", placeholder = "" } }) @Html.ValidationMessageFor(model => model.Phone, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ComunityAppId, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.EditorFor(model => model.ComunityAppId, new { htmlAttributes = new { @class = "form-control u-shadow-v19 g-brd-none g-bg-white g-font-size-16 g-rounded-30 g-px-30 g-py-13 g-mb-30", placeholder = "" } }) @Html.ValidationMessageFor(model => model.ComunityAppId, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.VisitingDate, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.EditorFor(model => model.VisitingDate, new { htmlAttributes = new { @class = "form-control u-shadow-v19 g-brd-none g-bg-white g-font-size-16 g-rounded-30 g-px-30 g-py-13 g-mb-30", placeholder = "" } }) @Html.ValidationMessageFor(model => model.VisitingDate, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ReligionId, "ReligionId", htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.DropDownList("ReligionId", null, htmlAttributes: new { @class = "w-100 u-select-v2 u-shadow-v19 g-brd-none g-color-black g-color-primary--hover g-bg-white text-left g-rounded-30 g-pl-30 g-py-12" }) @Html.ValidationMessageFor(model => model.ReligionId, "", new { @class = "form-control-feedback g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
@Html.LabelFor(model => model.Note, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.EditorFor(model => model.Note, new { htmlAttributes = new { @class = "form-control u-shadow-v19 g-brd-none g-bg-white g-font-size-16 g-rounded-30 g-px-30 g-py-13 g-mb-30", placeholder = "" } }) @Html.ValidationMessageFor(model => model.Note, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Address, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" }) @Html.EditorFor(model => model.Address, new { htmlAttributes = new { @class = "form-control u-shadow-v19 g-brd-none g-bg-white g-font-size-16 g-rounded-30 g-px-30 g-py-13 g-mb-30", placeholder = "" } }) @Html.ValidationMessageFor(model => model.Address, "", new { @class = "text-danger" })
}