Skip to content

Commit

Permalink
Merge pull request #1111 from alphagov/help-index-with-govuk-component
Browse files Browse the repository at this point in the history
Use govuk-components for help page related links
  • Loading branch information
tijmenb committed Jan 30, 2017
2 parents 06739cb + 9f36e84 commit c158996
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions app/views/help/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,23 @@

</main>

<!-- related -->
<div class="related-positioning">
<div class="related-container">
<div class="related" id="related">
<div class="inner group">
<h2 id="parent-section">Find a contact</h2>
<nav role="navigation" aria-labelledby="parent-section">
<ul>
<li>
<a href="/contact">Contacts</a>
</li>
<li>
<a href="/contact/foi">Make a Freedom of Information Request</a>
</li>
</ul>
</nav>
<a class="return-to-top" href="#content">Return to top &uarr;</a>
</div>
</div>
</div>
<div class="related-container">
<%= render partial: 'govuk_component/related_items', locals: {
sections: [
{
title: "Find a contact",
id: "parent-section",
items: [
{
title: "Contacts",
url: "/contact"
},
{
title: "Make a Freedom of Information Request",
url: "/contact/foi"
}
]
}
]
} %>
</div>
<!-- end related -->

0 comments on commit c158996

Please sign in to comment.