Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Dec 5, 2024
1 parent 00237c1 commit e01b9b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions app/views/admin/editions/_landing_page_help.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
<div class="govspeak-help">
<h2 class="govuk-heading-l">Blocks</h2>

<p class="govuk-body">For details, read the <%= link_to("guide to using Markdown", "https://www.gov.uk/guidance/how-to-publish-on-gov-uk/markdown", class: "govuk-link") %>

<%= render "govuk_publishing_components/components/details", {
title: "Action Link",
} do %>
Expand All @@ -14,4 +12,16 @@
href: "/landing-page/goals"
</pre>
<% end %>

<%= render "govuk_publishing_components/components/details", {
title: "Big Number",
} do %>
<p class='govuk-body'>A wrapper around the Big number component</p<>>
<pre>
- type: big_number
number: £75m
label: amount of money that looks big</pre>
</pre>
<% end %>

</div>
2 changes: 1 addition & 1 deletion app/views/admin/editions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
</div>

<div class="govuk-grid-column-one-third">
<%= simple_formatting_sidebar hide_inline_attachments_help: !@edition.allows_inline_attachments?, show_attachments_tab_help: true %>
<%= simple_formatting_sidebar hide_inline_attachments_help: !@edition.allows_inline_attachments?, show_attachments_tab_help: true, show_landing_page_help: @edition.document.document.document_type == "LandingPage" %>
</div>
</div>

0 comments on commit e01b9b6

Please sign in to comment.