259 lines
16 KiB
Plaintext
259 lines
16 KiB
Plaintext
@model Church.Net.Entity.FamilyMember
|
|
@{
|
|
ViewBag.returnUrl= @Url.Action("Index");
|
|
ViewBag.returnUrlTitle= "FamilyMember List";
|
|
}
|
|
@{
|
|
ViewBag.Title = "Edit FamilyMember";
|
|
}
|
|
|
|
<div class="text-center g-mb-50--md">
|
|
<h2 class="h4 g-mb-0">Edit <span class="g-color-primary g-ml-5">FamilyMember</span>
|
|
</h2>
|
|
</div>
|
|
@using (Html.BeginForm())
|
|
{
|
|
|
|
@Html.AntiForgeryToken()
|
|
<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">
|
|
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
|
|
@Html.HiddenFor(model => model.Id)
|
|
|
|
<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" })
|
|
|
|
@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" } })
|
|
@Html.ValidationMessageFor(model => model.FirstName, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</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" })
|
|
|
|
@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" } })
|
|
@Html.ValidationMessageFor(model => model.LastName, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<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" })
|
|
|
|
@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 = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.Birthday, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.Birthday, 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" } })
|
|
@Html.ValidationMessageFor(model => model.Birthday, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.Married, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
<label class="form-check-inline u-check g-mr-20 mx-0 mb-0">
|
|
|
|
@Html.EditorFor(model => model.Married, new { htmlAttributes = new { @class = "g-hidden-xs-up g-pos-abs g-top-0 g-left-0" } })
|
|
@Html.ValidationMessageFor(model => model.Married, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
<div class="u-check-icon-radio-v7">
|
|
<i class="d-inline-block"></i>
|
|
</div>
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.Baptized, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
<label class="form-check-inline u-check g-mr-20 mx-0 mb-0">
|
|
|
|
@Html.EditorFor(model => model.Baptized, new { htmlAttributes = new { @class = "g-hidden-xs-up g-pos-abs g-top-0 g-left-0" } })
|
|
@Html.ValidationMessageFor(model => model.Baptized, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
<div class="u-check-icon-radio-v7">
|
|
<i class="d-inline-block"></i>
|
|
</div>
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.DateOfBaptized, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.DateOfBaptized, 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" } })
|
|
@Html.ValidationMessageFor(model => model.DateOfBaptized, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.DateOfWalkIn, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.DateOfWalkIn, 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" } })
|
|
@Html.ValidationMessageFor(model => model.DateOfWalkIn, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@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" } })
|
|
@Html.ValidationMessageFor(model => model.Address, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<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" })
|
|
|
|
@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" } })
|
|
@Html.ValidationMessageFor(model => model.ComunityAppId, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.CareerId, "CareerId", htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.DropDownList("CareerId", 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.CareerId, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.ProfileImage, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.ProfileImage, 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" } })
|
|
@Html.ValidationMessageFor(model => model.ProfileImage, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.Email, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.Email, 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" } })
|
|
@Html.ValidationMessageFor(model => model.Email, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.EmailConfirmed, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
<label class="form-check-inline u-check g-mr-20 mx-0 mb-0">
|
|
|
|
@Html.EditorFor(model => model.EmailConfirmed, new { htmlAttributes = new { @class = "g-hidden-xs-up g-pos-abs g-top-0 g-left-0" } })
|
|
@Html.ValidationMessageFor(model => model.EmailConfirmed, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
<div class="u-check-icon-radio-v7">
|
|
<i class="d-inline-block"></i>
|
|
</div>
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.PasswordHash, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.PasswordHash, 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" } })
|
|
@Html.ValidationMessageFor(model => model.PasswordHash, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.SecurityStamp, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.SecurityStamp, 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" } })
|
|
@Html.ValidationMessageFor(model => model.SecurityStamp, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.PhoneNumber, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.PhoneNumber, 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" } })
|
|
@Html.ValidationMessageFor(model => model.PhoneNumber, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.PhoneNumberConfirmed, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
<label class="form-check-inline u-check g-mr-20 mx-0 mb-0">
|
|
|
|
@Html.EditorFor(model => model.PhoneNumberConfirmed, new { htmlAttributes = new { @class = "g-hidden-xs-up g-pos-abs g-top-0 g-left-0" } })
|
|
@Html.ValidationMessageFor(model => model.PhoneNumberConfirmed, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
<div class="u-check-icon-radio-v7">
|
|
<i class="d-inline-block"></i>
|
|
</div>
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.TwoFactorEnabled, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
<label class="form-check-inline u-check g-mr-20 mx-0 mb-0">
|
|
|
|
@Html.EditorFor(model => model.TwoFactorEnabled, new { htmlAttributes = new { @class = "g-hidden-xs-up g-pos-abs g-top-0 g-left-0" } })
|
|
@Html.ValidationMessageFor(model => model.TwoFactorEnabled, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
<div class="u-check-icon-radio-v7">
|
|
<i class="d-inline-block"></i>
|
|
</div>
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.LockoutEndDateUtc, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.LockoutEndDateUtc, 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" } })
|
|
@Html.ValidationMessageFor(model => model.LockoutEndDateUtc, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.LockoutEnabled, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
<label class="form-check-inline u-check g-mr-20 mx-0 mb-0">
|
|
|
|
@Html.EditorFor(model => model.LockoutEnabled, new { htmlAttributes = new { @class = "g-hidden-xs-up g-pos-abs g-top-0 g-left-0" } })
|
|
@Html.ValidationMessageFor(model => model.LockoutEnabled, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
<div class="u-check-icon-radio-v7">
|
|
<i class="d-inline-block"></i>
|
|
</div>
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.AccessFailedCount, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.AccessFailedCount, 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" } })
|
|
@Html.ValidationMessageFor(model => model.AccessFailedCount, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 g-mb-20--md">
|
|
@Html.LabelFor(model => model.UserName, htmlAttributes: new { @class = "g-font-weight-500 g-font-size-15 g-pl-30" })
|
|
|
|
@Html.EditorFor(model => model.UserName, 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" } })
|
|
@Html.ValidationMessageFor(model => model.UserName, "", new { @class = "form-control-feedback d-block g-bg-red g-color-white g-font-size-12 g-px-14 g-py-3 mt-0" })
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<div class="row">
|
|
|
|
<div class="col-sm-6 g-mt-30 g-mb-30">
|
|
<div class="d-flex">
|
|
<button 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" type="reset">Reset</button>
|
|
<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">Update</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
|