@using Kreta.Resources @using Kreta.Web.Areas.Tanulo.Models @using Kreta.Web.Security; @model TanuloModGondviseloModel @{ var disabledItem = Model.IsSzirIntezmeny ? "disabledItem" : string.Empty; } @using (Html.KretaForm("GondviseloForm", new Dictionary { { "autocomplete", "new-password" } })) { @Html.KretaValidationSummary()

@TanuloResource.Gondviseloje

@Html.KretaTextBoxFor(x => x.GondviseloNeve).RenderWithName(3, 3, tooltipResource: TanuloResource.TanuloGondviseloNeveTooltip) @Html.KretaComboBoxFor(x => x.RokonsagiFok, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetRokonsagiFokList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaCheckBoxFor(x => x.IsTorvenyesKepviselo).RenderWithName(3, 3)

@TanuloResource.BelepesiAdatok

@Html.KretaTextBoxFor(x => x.GondviseloBejelentkezesiNev, new Dictionary { { "autocomplete", "new-password" } }).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3, tooltipResource: TanuloResource.TanuloGondviseloFelhasznaloNeveTooltip) @Html.KretaPasswordFor(x => x.GondviseloJelszo, new Dictionary { { "autocomplete", "new-password" } }).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3)
@if (!Model.Id.HasValue) { @Html.KretaCheckBoxFor(x => x.GondviseloAutoEmail).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3) } else { @Html.KretaEmpty() } @Html.KretaPasswordFor(x => x.IsmeteltGondviseloJelszo).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3)
@if (!Model.Id.HasValue) {
@Html.KretaCheckBoxFor(x => x.FileLetoltesSzukseges).Enable(ClaimData.IsActivTanev).RenderWithName(3, 3)
}

@TanuloResource.Elerhetosegek

@Html.Partial("_Cim_Elerhetoseg_Partial", Model)
}