@using Kreta.Framework
@using Kreta.Web.Classes
@using Kreta.Web.Areas.Orarend.Models
@model TanoraIdBeallitasModel
@{ Layout = null; }
@using (Html.KretaForm("IdBeallitasForm"))
{
@Html.KretaValidationSummary()
@if (Model.calendarModel.isHelyettesites)
{
@Html.HiddenFor(x => x.HelyettesitettId)
@Html.KretaComboBoxFor(x => x.HelyettesitesTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetHelyettesitesTipus" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(customLabelDivClass: "km-list", customLabelClass: "km-required")
@Html.KretaTextAreaFor(m => m.HelyettesitesOka).RenderWithName(customLabelDivClass: "km-list", customLabelClass: "km-required")
}
@if (Model.calendarModel.UseFoglakozas)
{
@StringResourcesUtil.GetString(4596)
@Html.KretaComboBoxFor(x => x.FoglalkozasId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTanoranKivuliFoglalkozasok" }), "Text", "Value", useGroup: true).Events(e => e.Change("TanariOrarend.changeTeremByFoglalkozas")).AutoBind(true).RenderWithName(customLabelDivClass: "km-list", customLabelClass: "km-required")
}
else {
@StringResourcesUtil.GetString(4597)
@Html.KretaComboBoxFor(x => x.OsztalyCsoportId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTanoranKivuliFoglalkozasokOsztalyList" }), "Text", "Value", useGroup: true).Events(e => e.Change("TanariOrarend.changeTeremByOsztaly")).AutoBind(true).RenderWithName(customLabelDivClass: "km-list", customLabelClass: "km-required")
@Html.KretaComboBoxFor(x => x.TantargyId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTantargyak" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(customLabelDivClass: "km-list", customLabelClass: "km-required")
}
@Html.KretaComboBoxFor(x => x.TeremId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTeremList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(customLabelDivClass: "km-list", customLabelClass: "km-required")
}