kreta/KretaWeb/Areas/Tantargy/Views/Tantervek/TantervModify_Bevitel.cshtml
2024-03-13 00:33:46 +01:00

40 lines
No EOL
1.9 KiB
Text

@using Kreta.Web.Areas.Tantargy.Models
@model TantervModModel
@using (Html.KretaForm("tantervModForm"))
{
@Html.KretaValidationSummary()
@Html.HiddenFor(x => x.ID)
@Html.HiddenFor(x => x.TantervIDArray)
<div class="container-fluid details">
@if (string.IsNullOrWhiteSpace(Model.TantervIDArray))
{
<div class="row">
@Html.KretaTextBoxFor(x => x.Nev).Enable(false).RenderWithName(6, 6)
</div>
}
else
{
<div class="row">
@Html.KretaLabelFor(x => x.TantervNevArray, 6, 6)
</div>
}
<div class="row">
@Html.KretaComboBoxFor(x => x.CsoportTipusa, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetCsoportTipusList" }), "Text", "Value").AutoBind(true).RenderWithName()
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.Evfolyamtol, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetEvfolyamList" }), "Text", "Value").AutoBind(true).RenderWithName()
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.Evfolyamig, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetEvfolyamList" }), "Text", "Value").AutoBind(true).RenderWithName()
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.KerettantervreEpulo, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName()
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.IsKerettanterv, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName()
</div>
</div>
}