From d26e30f3cfc7a77383b39929aa1db87524f89424 Mon Sep 17 00:00:00 2001 From: Sam C <156680559+sam-c-dfe@users.noreply.github.com> Date: Thu, 8 Aug 2024 12:58:13 +0100 Subject: [PATCH] EYQB-379: Updated to make the related content conditionally render (#299) --- .../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