Skip to content

Commit

Permalink
Update page title on publish confirmation page
Browse files Browse the repository at this point in the history
Update the page title to provide an indication to the user that the page
 is not just the view page for the manual, but a page for publishing it.

Also remove the unused `:page_title` value, which was used by the old,
 legacy, layout but is not needed by the design system one.
  • Loading branch information
mtaylorgds committed Aug 22, 2023
1 parent 4c962e3 commit 9a02a8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/manuals/confirm_publish.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<% draft_sections = manual.sections.select(&:draft?) %>

<% content_for :page_title, manual.title %>
<% content_for :title, manual.title %>
<% content_for :title, "Publish #{manual.title}" %>

<% content_for :title_margin_bottom, 6 %>

Expand Down

0 comments on commit 9a02a8f

Please sign in to comment.