init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,63 @@
|
|||
@using Kreta.Web.Areas.Tanulo.Models
|
||||
@model TanuloFelmentesModel
|
||||
|
||||
<div class="container-fluid details">
|
||||
@using (Html.KretaForm("FelmentesForm"))
|
||||
{
|
||||
@Html.KretaValidationSummary()
|
||||
|
||||
@Html.HiddenFor(x => x.ID)
|
||||
@Html.HiddenFor(x => x.TanuloId)
|
||||
<div class="row">
|
||||
@Html.KretaLabelFor(x => x.TanuloNeve, 3, 9)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaLabelFor(x => x.TanuloOsztalya, 3, 9)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(x => x.TantargyId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetTantargyList" })).AutoBind(true).RenderWithName(isCustomRequired: true)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.OraMentesites).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.ErtekelesMentesites).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.SzovegesenErtekelheto).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextAreaFor(x => x.FelmentesOka).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaDatePickerFor(x => x.Kezdete).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaDatePickerFor(x => x.Vege).RenderWithName()
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
setTimeout(function () {
|
||||
if (!$('#ErtekelesMentesites').is(':checked')) {
|
||||
$('#SzovegesenErtekelheto').prop('disabled', true);
|
||||
$('#SzovegesenErtekelheto').prop('checked', false);
|
||||
}
|
||||
else {
|
||||
$('#SzovegesenErtekelheto').prop('disabled', false);
|
||||
}
|
||||
|
||||
$('#ErtekelesMentesites').click(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
$('#SzovegesenErtekelheto').prop('disabled', false);
|
||||
}
|
||||
else {
|
||||
$('#SzovegesenErtekelheto').prop('disabled', true);
|
||||
$('#SzovegesenErtekelheto').prop('checked', false);
|
||||
}
|
||||
});
|
||||
}, 1);
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue