@model Dictionary> @{ ViewBag.Title = "Lista kierunków"; }
@Html.ActionLink("Dodaj kierunek", "Create", "Specializations", null, new { @class = "add-button" })
@foreach (var faculty in Model) {
@faculty.Key.Name
@foreach (var specialization in faculty.Value) { }
Kierunek/Specialność Termin zakończenia Opłata rekrutacyjna Operacje Próg punktowy
@specialization.Name (@specialization.Faculty.Abbrevation)
@specialization.Description
@specialization.Deadline.ToString("dd'.'MM'.'yyyy") @specialization.Price zl @using (Html.BeginForm("Delete", "Specializations", FormMethod.Post, new { @class = "js-delete" })) { @Html.AntiForgeryToken() @Html.Hidden("id", specialization.SpecializationId) } 0
} @section DedicatedStyles { } @section scripts { }