kreta/KretaWeb/Areas/Tanulo/Views/EGYMITanulo/New_Gondviselo_Tab.cshtml
2024-03-13 00:33:46 +01:00

37 lines
No EOL
2.1 KiB
Text

@using Kreta.Resources
@using Kreta.Web.Areas.Tanulo.Models
@using Kreta.Web.Security;
@model TanuloModel
@{
var disabledItem = Model.IsSzirIntezmeny ? "disabledItem" : string.Empty;
}
<div class="container-fluid details">
<h4>@TanuloResource.Gondviseloje</h4>
<div class="row">
@Html.KretaTextBoxFor(x => x.TanuloGondviseloModel.GondviseloNeve).RenderWithName(3, 3, tooltipResource: TanuloResource.TanuloGondviseloNeveTooltip)
@Html.KretaComboBoxFor(x => x.TanuloGondviseloModel.RokonsagiFok, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetRokonsagiFokList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
</div>
<div class="row">
@Html.KretaCheckBoxFor(x => x.TanuloGondviseloModel.IsTorvenyesKepviselo).RenderWithName(3, 3)
</div>
<h4 class="@disabledItem">@TanuloResource.BelepesiAdatok</h4>
<div class="row @disabledItem">
@Html.KretaTextBoxFor(x => x.TanuloGondviseloModel.GondviseloBejelentkezesiNev, new Dictionary<string, object> { { "autocomplete", "new-password" } }).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3, tooltipResource: TanuloResource.TanuloGondviseloFelhasznaloNeveTooltip)
@Html.KretaPasswordFor(x => x.TanuloGondviseloModel.GondviseloJelszo, new Dictionary<string, object> { { "autocomplete", "new-password" } }).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3)
</div>
<div class="row @disabledItem">
@Html.KretaCheckBoxFor(x => x.TanuloGondviseloModel.GondviseloAutoEmail).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3)
@Html.KretaPasswordFor(x => x.TanuloGondviseloModel.IsmeteltGondviseloJelszo).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3)
</div>
<div class="row @disabledItem">
@Html.KretaCheckBoxFor(x => x.TanuloGondviseloModel.GondviseloBelepesFileLetoltesSzukseges).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3)
</div>
<div id="GondviseloCimElerhetosegModelForm" class="@disabledItem">
@Html.Partial("_Gondviselo_Cim_Elerhetoseg_Partial", Model.GondviseloCimElerhetosegModel)
</div>
</div>