@using RSystem.Models @model RSystem.ViewModels.RecruitDataViewModel @using RSystem.App_LocalResources.Recruit.Data @{ ViewBag.Title = Data.PersonalData; } @using (Html.BeginForm()) { @Html.HiddenFor(m=>m.RecruitDataId) @Html.AntiForgeryToken()
@Data.PersonalData
@Html.LabelFor(model => model.FirstName ,new { @class = "label-form required" }) @Html.EditorFor(model => model.FirstName, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.SecondName, new { @class = "label-form" }) @Html.EditorFor(model => model.SecondName, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.LastName, new { @class = "label-form required" }) @Html.EditorFor(model => model.LastName, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.Sex, new { @class = "label-form required" })
@Data.Parents
@Html.LabelFor(model => model.FathersName, new { @class = "label-form required" }) @Html.EditorFor(model => model.FathersName, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.MothersName, new { @class = "label-form required" }) @Html.EditorFor(model => model.MothersName, new { htmlAttributes = new { @class = "form-control" } })
@Data.DateAndPlaceOfBirth
@Html.LabelFor(model => model.DayOfBirth, new { @class = "label-form required" }) @Html.EditorFor(model => model.DayOfBirth, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.BirthCity, new { @class = "label-form required" }) @Html.EditorFor(model => model.BirthCity, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.BirthCountry, new { @class = "label-form required" }) @Html.DropDownListFor(model=>model.BirthCountry,Model.Countries ,new { @class = "form-control" } )
@Data.Identity
@Html.LabelFor(model => model.Citizenship, new { @class = "label-form required" }) @Html.EditorFor(model => model.Citizenship, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.DocumentType, new { @class = "label-form required" })
@Html.LabelFor(model => model.DocumentNumber,Data.NumberOfIDCard ,new { @class = "label-form required", id="DocumentTypeId"}) @Html.EditorFor(model => model.DocumentNumber, new { htmlAttributes = new { @class = "form-control" } })
@Data.Disablility
@Html.LabelFor(model => model.IsDisabled, new { @class = "label-form required" })
@Data.Contact
@Html.LabelFor(model => model.Email, new { @class = "label-form required" }) @Html.EditorFor(model=>model.Email, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.Phone, new { @class = "label-form required" }) @Html.EditorFor(model => model.Phone, new { htmlAttributes = new { @class = "form-control" } })
@Data.Address
@Html.LabelFor(model => model.Street, new { @class = "label-form required" }) @Html.EditorFor(model => model.Street, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.House, new { @class = "label-form required" }) @Html.EditorFor(model => model.House, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.Flat, new { @class = "label-form" }) @Html.EditorFor(model => model.Flat, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.City, new { @class = "label-form required" }) @Html.EditorFor(model => model.City, new { htmlAttributes = new { @class = "form-control" } })
@Html.LabelFor(model => model.PostalCode, new { @class = "label-form required" }) @Html.EditorFor(model => model.PostalCode, new { htmlAttributes = new { @class = "form-control", PlaceHolder = "__-___" } })
@Html.LabelFor(model => model.Country, new { @class = "label-form required" }) @Html.DropDownListFor(model=>model.Country,Model.Countries ,new { @class = "form-control" } )
@Data.CorespondentAddress
@Html.LabelFor(model => model.CorespondentAdressSameAsResidence, new { @class = "label-form required" })
class="hidden" } id="corespondent-form">
@Html.LabelFor(model => model.CorespondentStreet, new {@class = "label-form required" }) @Html.EditorFor(model => model.CorespondentStreet, new {htmlAttributes = new {@class = "form-control"}})
@Html.LabelFor(model => model.CorespondentHouse, new {@class = "label-form required" }) @Html.EditorFor(model => model.CorespondentHouse, new {htmlAttributes = new {@class = "form-control"}})
@Html.LabelFor(model => model.CorespondentFlat, new {@class = "label-form"}) @Html.EditorFor(model => model.CorespondentFlat, new {htmlAttributes = new {@class = "form-control"}})
@Html.LabelFor(model => model.CorespondentCity, new {@class = "label-form required" }) @Html.EditorFor(model => model.CorespondentCity, new {htmlAttributes = new {@class = "form-control"}})
@Html.LabelFor(model => model.CorespondentPostalCode, new {@class = "label-form required" }) @Html.EditorFor(model => model.CorespondentPostalCode, new {htmlAttributes = new {@class = "form-control", PlaceHolder = "__-___"}})
@Html.LabelFor(model => model.CorespondentCountry, new {@class = "label-form required" }) @Html.DropDownListFor(model=>model.CorespondentCountry,Model.Countries ,new { @class = "form-control" } )
@Data.Military
@Html.LabelFor(model => model.MilitaryAttitude, new { @class = "label-form required" }) @Html.EnumDropDownListFor(model => model.MilitaryAttitude, new { @class = "form-control" })
@Html.ActionLink(Data.Cancel,"Index","Home",new {@class="form-cancel form-btn"})
} @section DedicatedStyles { } @section scripts { }