init
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
@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>
|
||||
}
|
||||
Reference in New Issue
Block a user