<article aria-labelledby="manual-title" id="content">
  <div class='manual-body'>
    <% if presented_manual.summary.present? %><p class='summary'><%= presented_manual.summary %></p><% end %>

    <%= render partial: "hmrc_callout", locals: { presented_manual: presented_manual } %>

    <% if presented_manual.body.present? %>
      <%= render 'govuk_publishing_components/components/govspeak', {} do %>
        <%= raw(presented_manual.body) %>
      <% end %>
    <% end %>
    <% presented_manual.section_groups.each do | group | %>
      <% if presented_manual.hmrc? %>
      <div class='subsection-collection'>
        <%= render 'hmrc_sections', group: group %>
      </div>
      <% else %>
        <ol class='section-list'>
        <% group.sections.each do | section | %>
          <li>
          <%= link_to section.path, class: "#{section.section_id.present? ? 'subsection-with-id' : ''}" do %>
              <span class='subsection-title-text'><%= section.title %></span>
              <span class='subsection-summary'><%= section.summary %></span>
          <% end %>
          </li>
        <% end %>
        </ol>
      <% end %>
    <% end %>
  </div>
</article>

<article aria-labelledby="manual-title" id="content">
  <div class='manual-body'>
    <% if presented_manual.summary.present? %>
      <%= render "govuk_publishing_components/components/lead_paragraph", {
        text: presented_manual.summary
      } %>
    <% end %>

    <%= render partial: "hmrc_callout", locals: { presented_manual: presented_manual } %>

    <% if presented_manual.body.present? %>
      <%= render 'govuk_publishing_components/components/govspeak', {} do %>
        <%= raw(presented_manual.body) %>
      <% end %>
    <% end %>
    <% presented_manual.section_groups.each do | group | %>
      <% if presented_manual.hmrc? %>
      <div class='subsection-collection'>
        <%= render 'hmrc_sections', group: group %>
      </div>
      <% else %>
        <ol class='section-list'>
        <% group.sections.each do | section | %>
          <li>
          <%= link_to section.path, class: "#{section.section_id.present? ? 'subsection-with-id' : ''}" do %>
              <span class='subsection-title-text'><%= section.title %></span>
              <span class='subsection-summary'><%= section.summary %></span>
          <% end %>
          </li>
        <% end %>
        </ol>
      <% end %>
    <% end %>
  </div>
</article>

Add lead paragraph component to contents page view
Add lead paragraph component to contents page view
