Skip to content

Commit

Permalink
Simplify nav bars
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Sep 5, 2024
1 parent 878742c commit 615613e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/shared/_footer_navigation.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% @contextual_footer = capture do %>
<%= render 'govuk_publishing_components/components/contextual_footer', content_item: @content_item.content_item.parsed_content %>
<%= render 'govuk_publishing_components/components/contextual_footer', content_item: @content_item.to_h %>
<% end %>

<% if @contextual_footer.present? %>
Expand Down
4 changes: 1 addition & 3 deletions app/views/shared/_sidebar_navigation.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<% content_item = @content_item.content_item.parsed_content %>

<div class="govuk-grid-column-one-third">
<%= render 'govuk_publishing_components/components/contextual_sidebar', content_item: @content_item.content_item %>
<%= render 'govuk_publishing_components/components/contextual_sidebar', content_item: @content_item.to_h %>
</div>

0 comments on commit 615613e

Please sign in to comment.