51 lines
No EOL
2.1 KiB
Text
51 lines
No EOL
2.1 KiB
Text
@using Kreta.Web.Areas.Orarend.Models;
|
|
@using Kreta.Framework;
|
|
@using Kreta.Enums;
|
|
@using Kreta.Web.Security;
|
|
@using System.Collections.Generic;
|
|
@model DigitalisOktatasAdatok
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
@using (Html.KretaForm("DigitalisOktatasAdatokForm"))
|
|
{
|
|
<div class="container-fluid details">
|
|
<div class="row">
|
|
@Html.KretaComboBoxFor(m => m.DigEszkozTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetDigEszkozTipusList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(9, 3)
|
|
</div>
|
|
<div class="row">
|
|
@Html.KretaComboBoxFor(m => m.DigPlatformTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetDigPlatformTipusList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(9, 3)
|
|
</div>
|
|
<div class="row">
|
|
@Html.KretaMultiSelectFor(model => model.DigTamEszkozTipus, Model.DigTamEszkozTipusList).AutoBind(true).RenderWithName(9, 3)
|
|
@*@Html.KretaComboBoxFor(m => m.DigTamEszkozTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetDigTamEszkozTipusList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(9, 3)*@
|
|
</div>
|
|
</div>
|
|
}
|
|
<style type="text/css">
|
|
.k-checkbox-label-inline {
|
|
display: inline-block;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
var TanoraDigitalisOktatasAdatokHelper = (function () {
|
|
var tanoraDigitalisOktatasAdatokHelper = function () { };
|
|
|
|
tanoraDigitalisOktatasAdatokHelper.getModel = function () { return getModel("DigitalisOktatasAdatokForm"); }
|
|
|
|
function getModel(formName) {
|
|
var model = {};
|
|
|
|
var form = $("#" + formName).toObject();
|
|
model.DigEszkozTipusId = form.DigEszkozTipusId;
|
|
model.DigPlatformTipusId = form.DigPlatformTipusId;
|
|
model.DigTamEszkozTipus = form.DigTamEszkozTipus;
|
|
|
|
return model;
|
|
}
|
|
|
|
return tanoraDigitalisOktatasAdatokHelper;
|
|
})();
|
|
</script> |