From fe05d9f65456cd434b038886443294b6809cb593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BE=D0=BB=D0=BE=D0=B4=D1=8F?= Date: Thu, 18 May 2023 20:19:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D0=BE=20=D0=BF?= =?UTF-8?q?=D0=B4=D1=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Home/SendingEmail.cshtml | 22 +++++++++++++ .../Views/Home/_InterestListPartial.cshtml | 33 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 SchoolAgainStudy/StudentWebClient/Views/Home/SendingEmail.cshtml create mode 100644 SchoolAgainStudy/StudentWebClient/Views/Home/_InterestListPartial.cshtml diff --git a/SchoolAgainStudy/StudentWebClient/Views/Home/SendingEmail.cshtml b/SchoolAgainStudy/StudentWebClient/Views/Home/SendingEmail.cshtml new file mode 100644 index 0000000..21c04c1 --- /dev/null +++ b/SchoolAgainStudy/StudentWebClient/Views/Home/SendingEmail.cshtml @@ -0,0 +1,22 @@ +@{ + ViewData["Title"] = "Report"; +} +
+ +
+
Интересы:
+
+ @Html.ListBox("interests", (MultiSelectList)ViewBag.Interests) +
+
+
+
+
+
+
+
+@section scripts{ + \ No newline at end of file diff --git a/SchoolAgainStudy/StudentWebClient/Views/Home/_InterestListPartial.cshtml b/SchoolAgainStudy/StudentWebClient/Views/Home/_InterestListPartial.cshtml new file mode 100644 index 0000000..2d21d9d --- /dev/null +++ b/SchoolAgainStudy/StudentWebClient/Views/Home/_InterestListPartial.cshtml @@ -0,0 +1,33 @@ +@using SchoolAgainStudyContracts.ViewModel; +@model List + + +
+ @{ + + + + + + + + + + + @foreach (var item in Model) + { + + + + + } + +
+ Название + + Интересы +
+ @Html.DisplayFor(modelItem => item.InterestTitle) +
+ } +
\ No newline at end of file