-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1949 from alphagov/add-support-for-briefing
Add support for briefing
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<%= render 'govuk_publishing_components/components/title', title: @content_item.title %> | ||
</div> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<%= render 'govuk_publishing_components/components/lead_paragraph', text: @content_item.description %> | ||
</div> | ||
</div> | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds content-bottom-margin"> | ||
<div class="responsive-bottom-margin"> | ||
<%= render "govuk_publishing_components/components/govspeak", { | ||
direction: page_text_direction, | ||
} do %> | ||
<%= raw(@content_item.body) %> | ||
<% end %> | ||
</div> | ||
|
||
<div class="dont-print responsive-bottom-margin"> | ||
<%= render 'govuk_publishing_components/components/share_links', | ||
links: @content_item.share_links, | ||
track_as_sharing: true, | ||
title: t('components.share_links.share_this_page') | ||
%> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters