|
| 1 | +<% content_for :title_context, @article_title %> |
| 2 | +<% content_for :title, t("fact_check_comparison.fact_check_heading") %> |
| 3 | + |
| 4 | +<div class="govuk-grid-row"> |
| 5 | +<div class="govuk-grid-column-two-thirds"> |
| 6 | + <%= render "govuk_publishing_components/components/inset_text", {} do %> |
| 7 | + <p class="govuk-body"><%= t "fact_check_comparison.respond_by" %> <span class="govuk-body govuk-!-font-weight-bold"><%= @date %></span></p> |
| 8 | + <% end %> |
| 9 | + <%= render "govuk_publishing_components/components/button", { |
| 10 | + text: t("fact_check_comparison.respond_to_button"), |
| 11 | + href: "/", |
| 12 | + } %> |
| 13 | +</div> |
| 14 | +</div> |
| 15 | +<div class="govuk-grid-row"> |
| 16 | +<div class="govuk-grid-column-two-thirds"> |
| 17 | + <div class="govuk-body compare-editions"> |
| 18 | + <%= @differ %> |
| 19 | + </div> |
| 20 | +</div> |
| 21 | +<div class="govuk-grid-column-one-third options-sidebar"> |
| 22 | + <div class="sidebar-components"> |
| 23 | + <%= render "govuk_publishing_components/components/heading", { |
| 24 | + text: t("fact_check_comparison.preview_heading"), |
| 25 | + heading_level: 3, |
| 26 | + font_size: "s", |
| 27 | + padding: true, |
| 28 | + } %> |
| 29 | + <p class="govuk-body"><a href=<%= @draft_url %>class="govuk-link--no-visited-state" rel="noreferrer noopener" target="_blank"><%= t "fact_check_comparison.preview_link" %></a></p> |
| 30 | + </div> |
| 31 | + <hr class="govuk-section-break govuk-section-break govuk-section-break--visible govuk-!-margin-top-6 govuk-!-margin-bottom-3"> |
| 32 | + <%= render "govuk_publishing_components/components/heading", { |
| 33 | + text: t("fact_check_comparison.guidance_heading"), |
| 34 | + heading_level: 3, |
| 35 | + font_size: "s", |
| 36 | + padding: true, |
| 37 | + } %> |
| 38 | + <ul class="govuk-list govuk-list--bullet"> |
| 39 | + <li><%= t("fact_check_comparison.guidance_deleted") %></li> |
| 40 | + <li><%= t("fact_check_comparison.guidance_added") %></li> |
| 41 | + </ul> |
| 42 | + <p class="govuk-body"><a href="https://www.gov.uk/government/publications/how-content-requests-from-government-get-published/fact-checking-content-on-govuk" class="govuk-link--no-visited-state" rel="noreferrer noopener" target="_blank"><%= t("fact_check_comparison.guidance_link") %></a></p> |
| 43 | + </div> |
| 44 | +</div> |
0 commit comments