init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
|||
@using Kreta.Web.Areas.Orarend.Models;
|
||||
@model OralatogatasModel
|
||||
@{ Layout = null; }
|
||||
|
||||
@using (Html.KretaForm("OralatogatasForm"))
|
||||
{
|
||||
@Html.KretaValidationSummary()
|
||||
|
||||
@Html.HiddenFor(x => x.OraID)
|
||||
@Html.HiddenFor(x => x.OralatogatasID)
|
||||
@Html.HiddenFor(x => x.TanarId)
|
||||
@Html.HiddenFor(x => x.OralatogatasDatuma)
|
||||
@Html.HiddenFor(x => x.TanitasiOraTema)
|
||||
<div class="container-fluid">
|
||||
@Html.KretaHtmlEditorFor(x => x.OralatogatasSzovege, false)
|
||||
</div>
|
||||
<div style="position: absolute; bottom: 0; right: 0;">
|
||||
@if (!Model.OralatogatasID.HasValue)
|
||||
{
|
||||
@Html.KretaCheckBoxFor(x => x.NemKotottMunkaidos).RenderWithName(11, 1)
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$("#OralatogatasForm #TanarId").val($("#searchForm #TanarId").val());
|
||||
$("#OralatogatasWindow_wnd_title")[0].innerText += (" - " + $("#TanitasiOraTema").val());
|
||||
@if (Model.IsNemKellNemKotottSystemSettings)
|
||||
{
|
||||
<text>
|
||||
$("#NemKotottMunkaidos").parent("div").parent("div").addClass("disabledItem");
|
||||
$("#NemKotottMunkaidos").prop("checked", false);
|
||||
</text>
|
||||
}
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue