From 9a63bf78fe35d23160472d82d94d5f96af3bc9b8 Mon Sep 17 00:00:00 2001 From: Catalina Ilie Date: Wed, 4 Dec 2024 14:56:07 +0000 Subject: [PATCH] Add 'Contents' title to HMRC section pages --- app/views/content_items/hmrc_manual_section.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/content_items/hmrc_manual_section.html.erb b/app/views/content_items/hmrc_manual_section.html.erb index b3f82e6bd..2e7e9724c 100644 --- a/app/views/content_items/hmrc_manual_section.html.erb +++ b/app/views/content_items/hmrc_manual_section.html.erb @@ -19,6 +19,11 @@ <% end %> + <%= render "govuk_publishing_components/components/heading", { + text: t("manuals.contents_title"), + margin_bottom: 4 + } %> + <% @content_item.section_groups.each do | group | %>
<%= render "content_items/manuals/hmrc_sections", group: group %>