@using Kreta.Web.Areas.OsztalyCsoport.Models
@using Kreta.Web.Security
@using Kreta.Resources
@model ModOsztalyModel
@Scripts.Render("~/bundles/OsztalyBevitelVisibilityHelper")
@Html.KretaValidationSummary()
@Html.HiddenFor(x => x.FeladatellatasiHelyIsSzakkepzesesJSON)
@Html.HiddenFor(x => x.GimnaziumIdsJSON)
@if (string.IsNullOrWhiteSpace(Model.OsztalyIDArrayString))
{
@Html.KretaTextBoxFor(x => x.Nev).Enable(false).RenderWithName(3, 3)
@Html.KretaEmpty(6)
@Html.HiddenFor(x => x.ID)
}
else
{
@Html.KretaLabelFor(x => x.OsztalyNevArray, 3, 9)
}
@Html.HiddenFor(x => x.OsztalyIDArrayString)
@Html.KretaComboBoxFor(x => x.Evfolyam, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetEvfolyamList" }), "Text", "Value").RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.VegzosEvf, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3, labelMsg: (ClaimData.IsSelectedTanev20_21OrLater && ClaimData.IsSzakkepzoIntezmeny) ? OsztalyCsoportResource.VegzosEvfolyamuOsztalyKozepfokuOktatasiIntezmenyben2021OrLater : null)
@Html.KretaComboBoxFor(x => x.OsztalyFonok, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetOsztalyFonokList" }), "Text", "Value").RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.OsztalyFonokHelyettes, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetOsztalyFonokList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.Terem, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTeremList" })).RenderWithName(3, 3)
@{if (!(ClaimData.IsSzakkepzoIntezmeny && ClaimData.IsSelectedTanev21_22OrLater))
{
@Html.KretaComboBoxFor(x => x.KepzesiForma, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetKepzesListS" }), "Text", "Value").RenderWithName(3, 3)
}
}
@Html.KretaComboBoxFor(x => x.NevelesiTerv, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTantervList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.FeladatellatasiHely, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetFeladatellatasiHelyek" }), "Text", "Value").Events(e => e.Change("function(e) { OsztalyBevitelHelper.feladatellatasiHelyChange(e); }")).RenderWithName(3, 3)
@Html.KretaNumericFor(x => x.TervezettLetszam).Min(0).Max(40).RenderWithName(3, 3)
@Html.KretaDatePickerFor(x => x.OsztalynaploMegnyitasa).RenderWithName(3, 3)
@Html.KretaDatePickerFor(x => x.OsztalynaploLezarasa).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.GimnaziumiEvfolyamTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetGimnaziumiEvfolyamTipus" }), "Text", "Value").RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.TechnikaiOsztaly, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.Nemzetisegi, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.IsGyogypedagogiaiLogopediai, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)