kreta/KretaWeb/Areas/Feljegyzes/Views/Beirasok/Start_Popup.cshtml
2024-03-13 00:33:46 +01:00

35 lines
No EOL
1.3 KiB
Text

@using Kreta.Enums.ManualEnums
@using Kreta.Resources
@using Kreta.Web.Areas.Feljegyzes.Controllers
@using Kreta.Web.Areas.Feljegyzes.Models
@using Kreta.Web.Security
@model FeljegyzesekModel
@{
var startPopupFormName = BaseBeirasokController.StartPopupFormName;
}
@using (Html.KretaForm(startPopupFormName))
{
@Html.HiddenFor(x => x.ElsoTanitasiNap)
<div class="container-fluid details">
<div>
@Html.KretaComboBoxFor(x => x.OsztalyCsoportId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetOsztalyCsoportListForBeirasok", isDualisKepzohelyiCsoport = Model.IsDualisKepzohelyiCsoport, szervezetAdatokHalmaza = (int)SzervezetAdatokHalmazaEnum.SzervezetEsAlSzervezetek }), "Text", "Value", useGroup: true, htmlAttributes: new Dictionary<string, object> { { "class", "enterKeyPress" } }).SelectedIndex(0).AutoBind(true).RenderWithName(4, 8, true)
</div>
<br />
<div align="center">
@Html.KretaButton("StartFeljegyzes", CommonResource.Tovabb, clickEventName: "BeirasokHelper.startTovabb")
</div>
@Html.KretaValidationSummary()
</div>
}
<script>
$(document).ready(function () {
$("span.enterKeyPress").onKeyPressEnter(BeirasokHelper.startTovabb);
});
</script>