@using RSystem.Models @model RSystem.ViewModels.EducationViewModel @{ ViewBag.Title = "Edukacja"; } @using (Html.BeginForm()) { @Html.AntiForgeryToken()
Świadectwo dojrzałości
@Html.LabelFor(m => m.MaturaNumber, new { @class = "label-form required" }) @Html.EditorFor(m => m.MaturaNumber, new { htmlAttributes = new { @class = "form-control no-radius", placeholder= "CCI123456" } })
@Html.LabelFor(m => m.DateOfPass, new { @class = "label-form required" }) @Html.EditorFor(m => m.DateOfPass, new { htmlAttributes = new { @class = "form-control no-radius" } })
Rodzaj zdawanej matury
Wyniki z matury
for (int i = 0; i < Model.MaturaResults.Count(); i++) {
@Model.MaturaResults[i].MaturaSubject.Name
@Html.HiddenFor(m=>m.MaturaResults[i].MaturaResultId)
@Html.LabelFor(m => m.MaturaResults[i].Points, new {@style = "font-weight:500"}) @Html.EditorFor(m => m.MaturaResults[i].Points, new {htmlAttributes = new {@class = "form-control no-radius"}})

@Model.MaturaResults[i].MaturaSubject.Description

}
@Html.ActionLink("Anuluj","Index","Home",new {@class="form-cancel form-btn"})
} @section DedicatedStyles { } @functions { string MaturaTypeClass(MaturaType type) { if (type == MaturaType.Nowa) return "new-matura"; else if (type == MaturaType.Stara) return "old-matura"; return "internationtal-matura"; } } @section scripts { }