init
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
@using Kreta.Web.Areas.Alkalmazott.Models
|
||||
@using Kreta.Web.Security
|
||||
@using Kreta.Resources
|
||||
@model DualisKepzohelyiOktatoModel
|
||||
|
||||
@Html.HiddenFor(x => x.NevEloTag)
|
||||
@Html.HiddenFor(x => x.IsDualisKepzohelyFromSzervezet)
|
||||
<div class="container-fluid details">
|
||||
<div class="row">
|
||||
@Html.KretaLabelFor(x => x.NevEloTag)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.CsaladiNev).RenderWithName(3, 3)
|
||||
@Html.KretaTextBoxFor(x => x.Utonev).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
<div @(Model.IsDualisKepzohelyFromSzervezet ? "class=disabledItem" : string.Empty)>
|
||||
@Html.KretaComboBoxFor(x => x.MunkaKor, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetMunkakorList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
|
||||
</div>
|
||||
@if(Model.IsDualisKepzohelyFromSzervezet)
|
||||
{
|
||||
@Html.KretaComboBoxFor(x => x.OktatoSzervezetId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = Constants.ComboBoxHelperApiActions.GetDualisKepzohelyek }), "Text", "Value", useGroup: true).AutoBind(true).RenderWithName(3, 3)
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.KretaComboBoxFor(x => x.FeladatellatasiHely, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetFeladatellatasiHelyek" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
|
||||
}
|
||||
</div>
|
||||
@if(!Model.IsDualisKepzohelyFromSzervezet)
|
||||
{
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.DualisKepzohelyNeve).RenderWithName(3, 3)
|
||||
@Html.KretaTextBoxFor(x => x.DualisKepzohelyAdoszama).RenderWithName(3, 3)
|
||||
</div>
|
||||
}
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.IsSzakiranyuOktatasertFelelos).RenderWithName(3, 3)
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user