From 0396ac78a589335ccfbb29a50d036e9556afdda8 Mon Sep 17 00:00:00 2001 From: Sam Carter Date: Thu, 8 Aug 2024 11:07:48 +0100 Subject: [PATCH] EYQB-379: Updated to make the related content conditionally render --- .../Views/Home/Index.cshtml | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/Dfe.EarlyYearsQualification.Web/Views/Home/Index.cshtml b/src/Dfe.EarlyYearsQualification.Web/Views/Home/Index.cshtml index 7e405a13..2e4fce1f 100644 --- a/src/Dfe.EarlyYearsQualification.Web/Views/Home/Index.cshtml +++ b/src/Dfe.EarlyYearsQualification.Web/Views/Home/Index.cshtml @@ -16,14 +16,17 @@
@Html.Raw(Model.PostCtaButtonContent)
-
- -
+ @if (!string.IsNullOrEmpty(Model.RightHandSideContentHeader) && !string.IsNullOrEmpty(Model.RightHandSideContent)) + { +
+ +
+ } \ No newline at end of file