@using RSystem.Models @model RSystem.ViewModels.RecruitDataViewModel @{ ViewBag.Title = "Dane Osobowe"; } @using (Html.BeginForm()) { @Html.HiddenFor(m=>m.RecruitDataId) @Html.AntiForgeryToken()
Dane Osobowe
@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" })
Rodzice
@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 i miejsce urodzenia
@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" } )
Tożsamość
@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,"Numer dowodu osobistego" ,new { @class = "label-form required", id="DocumentTypeId"}) @Html.EditorFor(model => model.DocumentNumber, new { htmlAttributes = new { @class = "form-control" } })
Niepełnosprawność
@Html.LabelFor(model => model.IsDisabled, new { @class = "label-form required" })
Dane kontaktowe
@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" } })
Adres zamieszkania
@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" } )
Adres do korespondencji
@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" } )
Wojsko
@Html.LabelFor(model => model.MilitaryAttitude, new { @class = "label-form required" }) @Html.EnumDropDownListFor(model => model.MilitaryAttitude, new { @class = "form-control" })
@Html.ActionLink("Anuluj","Index","Home",new {@class="form-cancel form-btn"})
} @section DedicatedStyles { } @section scripts { }