@using Kreta.Enums @using Kreta.Resources @using Kreta.Web.Areas.Tantargy.Models @model TantargyModel
@Html.HiddenFor(x => x.ID) @Html.HiddenFor(x => x.GyakorlatigenyessegKategoriak)
@Html.KretaTextBoxFor(x => x.TantargyNev, new Dictionary { { "class", "tantargynev" } }).RenderWithName(3, 3) @Html.KretaTextBoxFor(x => x.TantargyRovidNev).RenderWithName(3, 3)
@Html.KretaNumericFor(x => x.Sorszam).Min(Kreta.Core.Constants.MinMaxValues.MinTantargySorszam).Max(Kreta.Core.Constants.MinMaxValues.MaxTantargySorszam).RenderWithName(3, 3) @Html.KretaTextBoxFor(x => x.NevNyomtatvanyban).RenderWithName(3, 3) @Html.KretaTextBox("NevNyomtatvanybanHider", true, new Dictionary { { "readonly", "true" }, { "data-labelmsg", TantargyResource.BizonyitvanybanMegjelenoNev } }).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.TargyKategoria, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTargyKategoriaList" }), "Text", "Value", new Dictionary() { { "style", "width: 75%" } }).AutoBind(true).RenderWithName(3, 3) @Html.KretaComboBoxFor(x => x.ESLTargyKategoria, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetESLTantargykategoriaList" })).AutoBind(true).RenderWithName(3, 3)
@Html.KretaNumericFor(x => x.Gyakorlatigenyesseg).Min(1).Max(99).Decimals(0).RenderWithName(3, 3)
@Html.KretaCheckBoxFor(x => x.IsFoTargy).RenderWithName(3, 3, allSizeSame: true) @Html.KretaCheckBoxFor(x => x.GyakorlatiTargy).RenderWithName(3, 3, allSizeSame: true)
@Html.KretaCheckBoxFor(x => x.AltantargyNyomtatvanyban).RenderWithName(3, 3, allSizeSame: true) @if (Model.ID != null && Model.ID > 0) { @Html.KretaComboBoxFor(x => x.FoTargyID, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetFotargyakListWithoutSameTargy" }) + "?targyId=" + Model.ID.ToString(), "Text", "Value").AutoBind(true).RenderWithName(3, 3) } else { @Html.KretaComboBoxFor(x => x.FoTargyID, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetFotargyakList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3) }
@*
*@
@Html.KretaTextBoxFor(x => x.Megjegyzes).RenderWithName(3, 9)