@using Kreta.Web.Areas.Alkalmazott.Models @using Kreta.Web.Security @using Kreta.Resources @model DualisKepzohelyiOktatoModel @Html.HiddenFor(x => x.NevEloTag) @Html.HiddenFor(x => x.IsDualisKepzohelyFromSzervezet)
@Html.KretaLabelFor(x => x.NevEloTag)
@Html.KretaTextBoxFor(x => x.CsaladiNev).RenderWithName(3, 3) @Html.KretaTextBoxFor(x => x.Utonev).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.MunkaKor, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetMunkakorList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@if(Model.IsDualisKepzohelyFromSzervezet) { @Html.KretaComboBoxFor(x => x.OktatoSzervezetId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = Constants.ComboBoxHelperApiActions.GetDualisKepzohelyek }), "Text", "Value", useGroup: true).AutoBind(true).RenderWithName(3, 3) } else { @Html.KretaComboBoxFor(x => x.FeladatellatasiHely, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetFeladatellatasiHelyek" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3) }
@if(!Model.IsDualisKepzohelyFromSzervezet) {
@Html.KretaTextBoxFor(x => x.DualisKepzohelyNeve).RenderWithName(3, 3) @Html.KretaTextBoxFor(x => x.DualisKepzohelyAdoszama).RenderWithName(3, 3)
}
@Html.KretaCheckBoxFor(x => x.IsSzakiranyuOktatasertFelelos).RenderWithName(3, 3)