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

32 lines
No EOL
1.3 KiB
Text

@using Kreta.Web.Areas.Tanulo.Models;
@using Kreta.Resources;
@model HozzaferesGeneralasaModel
<div class="container-fluid details">
@if (Model.ErrorList.Count > 0)
{
<div class="row" style="padding-left:11px;">
@Html.Label(CommonResource.AKovetkezoknelHozzaferesGeneralasaSikertelen, new Dictionary<string, object> { { "class", "windowInputLabel labelError" } })
<br />
@Html.KretaTextArea("tanulohibak", Model.ErrorList, 15, new Dictionary<string, object>() { { "style", "color: red; height: 200px; resize: none;" }, { "readonly", "readonly" } })
</div>
}
@if (Model.VisibileFileDownload)
{
<div class="row" style="padding-left:11px;">
@if (Model.IsTanulo)
{
<div class="row" style="padding-left:21px; max-width:700px">
@Html.ActionLink(CommonResource.HozzaferesiAdatokExportalasa, "TanuloJelszoAdatok", new { fileName = "TanuloJelszoAdatok.pdf" })
</div>
}
else
{
<div class="row" style="padding-left:21px; max-width:700px">
@Html.ActionLink(CommonResource.HozzaferesiAdatokExportalasa, "HozzatartozoJelszoAdatok", new { fileName = "HozzatartozoJelszoAdatok.pdf" })
</div>
}
</div>
}
</div>