diff --git a/app/views/community_news/show.html.erb b/app/views/community_news/show.html.erb index 4f36e0987..067d6bcc6 100644 --- a/app/views/community_news/show.html.erb +++ b/app/views/community_news/show.html.erb @@ -21,6 +21,8 @@ <%= link_to "Website", safe_url(@community_news.external_url), target: "_blank", rel: "noopener noreferrer", class: "btn btn-secondary-outline" %> <% end %> + + <%= print_button(@community_news, printable_type: "CommunityNews", button_text: "Print page") %> diff --git a/app/views/stories/show.html.erb b/app/views/stories/show.html.erb index 44f6c167c..06918ace3 100644 --- a/app/views/stories/show.html.erb +++ b/app/views/stories/show.html.erb @@ -22,6 +22,8 @@ <%= link_to "Edit", edit_story_path(@story), class: "btn btn-secondary-outline admin-only bg-blue-100" %> <% end %> + + <%= print_button(@story, printable_type: "Story", button_text: "Print page") %>