<commit_before><% content_for :title, t('brexit_checker.account_signup.title') %>
<% content_for :head do %>
  <% unless params[:page] %>
    <meta name="robots" content="noindex">
  <% end %>
  <%= account_variant.analytics_meta_tag.html_safe %>
<% end %>

<div class="govuk-width-container">
  <%= render 'govuk_publishing_components/components/breadcrumbs', {
    collapse_on_mobile: true,
    breadcrumbs: [
      {
        title: t('brexit_checker.breadcrumbs.home'),
        url: "/"
      },
      {
        title: t('brexit_checker.breadcrumbs.brexit-home'),
        url: "/transition"
      },
      {
        title: t('brexit_checker.breadcrumbs.results'),
        url: transition_checker_results_path(c: criteria_keys)
      }
    ]
  } %>

  <main class="govuk-main-wrapper">
    <div class="govuk-grid-row">
      <div class="govuk-grid-column-two-thirds">
        <%= render "govuk_publishing_components/components/heading", {
          text: t('brexit_checker.account_signup.heading'),
          font_size: "xl",
          heading_level: 1,
          margin_bottom: 6,
        } %>

        <p class="govuk-body"><%= t('brexit_checker.account_signup.proposition') %></p>

        <%= render "govuk_publishing_components/components/heading", {
          text: t('brexit_checker.account_signup.email_alerts.heading'),
          font_size: "m",
          heading_level: 2,
        } %>

        <p class="govuk-body govuk-!-margin-bottom-6">
          <a class="govuk-link" href="<%= transition_checker_email_signup_path(c: criteria_keys) %>">
            <%= t('brexit_checker.account_signup.email_alerts.link') %>
          </a>
          <%= t('brexit_checker.account_signup.email_alerts.text') %>
        </p>

        <%= render "govuk_publishing_components/components/heading", {
          text: t('brexit_checker.account_signup.create_account.heading'),
          font_size: "m",
          heading_level: 2,
        } %>

        <p class="govuk-body"><%= t('brexit_checker.account_signup.create_account.intro') %></p>
        <p class="govuk-body"><%= t('brexit_checker.account_signup.create_account.text') %></p>

        <%= render "govuk_publishing_components/components/inset_text" do %>
          <p class="govuk-body"><%= t('brexit_checker.account_signup.create_account.aside') %></p>
        <% end %>

        <p class="govuk-body"><%= t('brexit_checker.account_signup.create_account.outro') %></p>

        <%= form_tag Services.accounts_api, id: "account-signup" do %>
          <input type="hidden" name="jwt" value="<%= @account_jwt %>">
          <%= render "govuk_publishing_components/components/button", {
            text: t('brexit_checker.account_signup.create_account.cta_button'),
            margin_bottom: true,
          } %>
        <% end %>

        <p class="govuk-body"><commit_msg>Fix trailing space on link<commit_after><% content_for :title, t('brexit_checker.account_signup.title') %>
<% content_for :head do %>
  <% unless params[:page] %>
    <meta name="robots" content="noindex">
  <% end %>
  <%= account_variant.analytics_meta_tag.html_safe %>
<% end %>

<div class="govuk-width-container">
  <%= render 'govuk_publishing_components/components/breadcrumbs', {
    collapse_on_mobile: true,
    breadcrumbs: [
      {
        title: t('brexit_checker.breadcrumbs.home'),
        url: "/"
      },
      {
        title: t('brexit_checker.breadcrumbs.brexit-home'),
        url: "/transition"
      },
      {
        title: t('brexit_checker.breadcrumbs.results'),
        url: transition_checker_results_path(c: criteria_keys)
      }
    ]
  } %>

  <main class="govuk-main-wrapper">
    <div class="govuk-grid-row">
      <div class="govuk-grid-column-two-thirds">
        <%= render "govuk_publishing_components/components/heading", {
          text: t('brexit_checker.account_signup.heading'),
          font_size: "xl",
          heading_level: 1,
          margin_bottom: 6,
        } %>

        <p class="govuk-body"><%= t('brexit_checker.account_signup.proposition') %></p>

        <%= render "govuk_publishing_components/components/heading", {
          text: t('brexit_checker.account_signup.email_alerts.heading'),
          font_size: "m",
          heading_level: 2,
        } %>

        <p class="govuk-body govuk-!-margin-bottom-6">
          <a class="govuk-link" href="<%= transition_checker_email_signup_path(c: criteria_keys) %>">
            <%= t('brexit_checker.account_signup.email_alerts.link') %></a>
          <%= t('brexit_checker.account_signup.email_alerts.text') %>
        </p>

        <%= render "govuk_publishing_components/components/heading", {
          text: t('brexit_checker.account_signup.create_account.heading'),
          font_size: "m",
          heading_level: 2,
        } %>

        <p class="govuk-body"><%= t('brexit_checker.account_signup.create_account.intro') %></p>
        <p class="govuk-body"><%= t('brexit_checker.account_signup.create_account.text') %></p>

        <%= render "govuk_publishing_components/components/inset_text" do %>
          <p class="govuk-body"><%= t('brexit_checker.account_signup.create_account.aside') %></p>
        <% end %>

        <p class="govuk-body"><%= t('brexit_checker.account_signup.create_account.outro') %></p>

        <%= form_tag Services.accounts_api, id: "account-signup" do %>
          <input type="hidden" name="jwt" value="<%= @account_jwt %>">
          <%= render "govuk_publishing_components/components/button", {
            text: t('brexit_checker.account_signup.create_account.cta_button'),
            margin_bottom: true,
          } %>
        <% end %>

        <p class="govuk-body">
{'fraction_non_alphanumeric': 0.16242937853107345, 'fraction_numerical': 0.0017655367231638418, 'mean_word_length': 2.864256480218281, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2131875', 'n_tokens_mistral': 1981, 'n_tokens_neox': 1873, 'n_words': 245}