1
0
mirror of https://github.com/chyzy/RSystem-MVC synced 2024-12-11 06:56:30 +01:00
RSystem-MVC-Fork/RSystem/Areas/Recruit/Views/Home/AddPreference.cshtml

48 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-04-17 11:20:49 +02:00
@model Dictionary<RSystem.Models.Faculty, IEnumerable<RSystem.Models.Specialization>>
@{
ViewBag.Title = "Wybierz kierunek";
}
<p class="pref-info">Lista dostępnych kierunków na rok @DateTime.Now.Year/@DateTime.Now.AddYears(1).Year </p>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-group">
@foreach (var faculty in Model)
{
<section class="faculty">
<header>
@faculty.Key.Name
</header>
@foreach (var specialization in faculty.Value)
{
<div class="radio">
<label class="spec-ratio">@Html.RadioButton("Id",specialization.SpecializationId) <b>@specialization.Name</b> (@specialization.Description)</label>
</div>
}
</section>
}
</div>
<div class="row col-sm-12 text-center p-submit">
<input type="submit" class="submit-blue form-btn" value="Dodaj kierunek"/>
@Html.ActionLink("Anuluj","Preferences","Home",new {@class="form-cancel form-btn"})
</div>
}
@section DedicatedStyles
{
<link rel="stylesheet" href="~/Content/css/HomePreferences.css" />
}