init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,46 @@
|
|||
@using Kreta.Web.Helpers
|
||||
@using Kreta.Web.Areas.Orarend.Models
|
||||
@model NemKotottMunkaidoModel
|
||||
|
||||
@using (Html.KretaForm("NemKotottMunkaidoForm"))
|
||||
{
|
||||
@Html.HiddenFor(x => x.Id)
|
||||
@Html.HiddenFor(x => x.TanarId)
|
||||
@Html.HiddenFor(x => x.TulajId)
|
||||
@Html.HiddenFor(x => x.GroupId)
|
||||
@Html.HiddenFor(x => x.ModositasiIdoszakTipus)
|
||||
@Html.HiddenFor(x => x.JSHelperNev)
|
||||
@Html.HiddenFor(x => x.isMegtartott)
|
||||
@Html.HiddenFor(x => x.HetirendId)
|
||||
@Html.HiddenFor(x => x.AdminAltalTorolt)
|
||||
@Html.HiddenFor(x => x.Megjegyzes)
|
||||
|
||||
@Html.KretaValidationSummary()
|
||||
<div class="container-fluid details">
|
||||
@if (!Model.isAdminRogzitette)
|
||||
{
|
||||
<div class="row">
|
||||
@Html.KretaDatePickerFor(x => x.Datum, new Dictionary<string, object>() { { "readonly", "readonly" } }).RenderWithName(2, 2)
|
||||
@Html.KretaTimePickerFor(x => x.Kezdet, Model.isReadonly ? new Dictionary<string, object>() { { "readonly", "readonly" } } : null).RenderWithName(2, 1)
|
||||
@Html.KretaTimePickerFor(x => x.Veg, Model.isReadonly ? new Dictionary<string, object>() { { "readonly", "readonly" } } : null).RenderWithName(2, 1)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(x => x.TorvenyKategoria, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTorvenyKategoriaList" }), "Text", "Value", htmlAttributes: Model.isReadonly ? new Dictionary<string, object>() { { "readonly", "readonly" } } : null).AutoBind(true).RenderWithName(2, 10)
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="row">
|
||||
@Html.KretaDatePickerFor(x => x.Datum, new Dictionary<string, object>() { { "readonly", "readonly" } }).RenderWithName(2, 2)
|
||||
@Html.KretaTimePickerFor(x => x.Kezdet, new Dictionary<string, object>() { { "readonly", "readonly" } }).RenderWithName(2, 2)
|
||||
@Html.KretaTimePickerFor(x => x.Veg, new Dictionary<string, object>() { { "readonly", "readonly" } }).RenderWithName(2, 2)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(x => x.TorvenyKategoria, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTorvenyKategoriaList" }), "Text", "Value", new Dictionary<string, object>() { { "readonly", "readonly" } }).AutoBind(true).RenderWithName(2, 10)
|
||||
</div>
|
||||
}
|
||||
<div class="row">
|
||||
@Html.KretaTextAreaFor(m => m.NaplozottMegjegyzes, 6, Model.isReadonly ? new Dictionary<string, object>() { { "readonly", "readonly" } } : null).RenderWithName(2, 10)
|
||||
</div>
|
||||
</div>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue