From 4784c670373dbd6f2d550bb052907a9f1358fda6 Mon Sep 17 00:00:00 2001 From: Hoapooh Date: Mon, 22 Jul 2024 08:38:18 +0700 Subject: [PATCH] fix bug when displaying text in specialty page --- .../Views/Specialty/Specialty.cshtml | 60 +++++++++---------- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/Dental_Clinic_System/Dental_Clinic_System/Views/Specialty/Specialty.cshtml b/Dental_Clinic_System/Dental_Clinic_System/Views/Specialty/Specialty.cshtml index 3dfaeffc..acde5578 100644 --- a/Dental_Clinic_System/Dental_Clinic_System/Views/Specialty/Specialty.cshtml +++ b/Dental_Clinic_System/Dental_Clinic_System/Views/Specialty/Specialty.cshtml @@ -1,42 +1,40 @@ @model IEnumerable @{ - ViewData["Title"] = "Chuyên Khoa"; + ViewData["Title"] = "Chuyên Khoa"; } - - + +
-

- Các chuyên khoa của nha khoa -

-
- -
-
-
- @foreach (var specialty in Model) - { -
-
- Chuyên khoa: @specialty.Name -

@specialty.Name

-
-
-

- @specialty.Description -

- - Chi tiết - - -
-
- } -
-
+

+ Các chuyên khoa của nha khoa +

+
+ +
+
+
+ @foreach (var specialty in Model) + { +
+
+ Chuyên khoa: @specialty.Name +

@specialty.Name

+
+
+ @Html.Raw(specialty.Description) + + Chi tiết + + +
+
+ } +
+