diff --git a/app/views/govuk_publishing_components/component_guide/show.html.erb b/app/views/govuk_publishing_components/component_guide/show.html.erb index 32c2574ae8..1417911326 100644 --- a/app/views/govuk_publishing_components/component_guide/show.html.erb +++ b/app/views/govuk_publishing_components/component_guide/show.html.erb @@ -23,7 +23,9 @@ -

How it looks

+

How it looks + (preview all) +

<%= render "govuk_publishing_components/component_guide/component_doc/preview", component_doc: @component_doc, example: @component_doc.example %>

How to call this component

@@ -55,9 +57,7 @@ <% if @component_doc.other_examples.any? %>
-

Other examples - (preview all) -

+

Other examples

<% @component_doc.other_examples.each do |example| %>