37 lines
No EOL
1.2 KiB
Text
37 lines
No EOL
1.2 KiB
Text
@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> |