@using Kreta.Web.Areas.Intezmeny.Models @using Kreta.Web.Helpers @using Kreta.Resources @using Kreta.Web.Security @model TeremModModel @using (Html.KretaForm("TeremModForm")) { @Html.KretaValidationSummary() @Html.HiddenFor(x => x.TeremId) @Html.HiddenFor(x => x.TeremIDArray) @Html.HiddenFor(x => x.IsFromSzervezet)
@IntezmenyResource.KivalasztottTermek
@if (string.IsNullOrWhiteSpace(Model.TeremIDArray)) { @Model.Nev } else { @Model.TeremNevArray }
@if (!Model.IsFromSzervezet) {
@Html.KretaComboBoxFor(x => x.Jelleg, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = Constants.ComboBoxHelperApiActions.GetTeremJellegList }), "Text", "Value").AutoBind(true).RenderWithName()
@Html.KretaComboBoxFor(x => x.MukodesiHelyID, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = Constants.ComboBoxHelperApiActions.GetMukodesiHelyList }), "Text", "Value").AutoBind(true).RenderWithName()
@Html.KretaComboBoxFor(x => x.Teremfelelos, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = Constants.ComboBoxHelperApiActions.GetTeremFelelosList }), "Text", "Value").AutoBind(true).RenderWithName()
@Html.KretaNumericFor(x => x.Terulet).RenderWithName()
@Html.KretaNumericFor(x => x.Kapacitas).RenderWithName()
@Html.KretaNumericFor(x => x.VizsgaKapacitas).RenderWithName()
@Html.KretaComboBoxFor(x => x.Aktiv, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperEnumApi, action = Constants.ComboBoxHelperEnumApiActions.GetIgenNemEnumSelectList })).RenderWithName()
@Html.KretaComboBoxFor(x => x.TobbOratLehetTartani, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperEnumApi, action = Constants.ComboBoxHelperEnumApiActions.GetIgenNemEnumSelectList })).RenderWithName()
@Html.KretaComboBoxFor(x => x.WifiLefedett, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperEnumApi, action = Constants.ComboBoxHelperEnumApiActions.GetIgenNemEnumSelectList })).RenderWithName()
if (ClaimData.IsSelectedTanev21_22OrLater && ClaimData.IsSzakkepzoIntezmeny) {
@Html.KretaComboBoxFor(x => x.InternetkapcsolatElerheto, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperEnumApi, action = Constants.ComboBoxHelperEnumApiActions.GetIgenNemEnumSelectList })).RenderWithName()
@Html.KretaNumericFor(x => x.TanulokSzamaraHozzaferhInternetesgep).RenderWithName()
@Html.KretaNumericFor(x => x.PedagogusHozzaferhInternetesgep).RenderWithName()
@Html.KretaNumericFor(x => x.OktCelraHasznaltSzamitogepekSzama).RenderWithName()
@Html.KretaComboBoxFor(x => x.InterakttablavalMunkaallomassalFelszerelt, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperEnumApi, action = Constants.ComboBoxHelperEnumApiActions.GetIgenNemEnumSelectList })).RenderWithName()
} } else {
@Html.KretaComboBoxFor(x => x.Aktiv, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperEnumApi, action = Constants.ComboBoxHelperEnumApiActions.GetIgenNemEnumSelectList })).RenderWithName()
@Html.KretaComboBoxFor(x => x.ModSzervezetId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = Constants.ComboBoxHelperApiActions.GetDualisKepzohelyek }), "Text", "Value", isSingleElementSet: false).AutoBind(true).RenderWithName()
}
}