Skip to content

Commit

Permalink
Update Govspeak in detailed guide template
Browse files Browse the repository at this point in the history
  • Loading branch information
injms committed Oct 21, 2020
1 parent 9f965af commit b05ae00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/content_items/detailed_guide.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
<%= render 'components/important-metadata', items: @content_item.important_metadata %>

<%= render "components/contents-list-with-body", contents: @content_item.contents do %>
<%= render 'govuk_publishing_components/components/govspeak', @content_item.govspeak_body %>
<%= render 'govuk_publishing_components/components/govspeak', {} do %>
<%= sanitize(@content_item.govspeak_body[:content]) %>
<% end %>

<div class="responsive-bottom-margin">
<%= render 'components/published-dates', {
Expand Down

0 comments on commit b05ae00

Please sign in to comment.