<commit_before>{% extends "_base_page.html" %}
{% import "toolkit/summary-table.html" as summary %}

{% block page_title %}Check your information – Create a supplier account – Digital Marketplace{% endblock %}

{% block breadcrumb %}
{%
  with items = [
    {
      "link": "/",
      "label": "Digital Marketplace"
    }
  ]
%}
{% include "toolkit/breadcrumb.html" %}
{% endwith %}
{% endblock %}

{% block main_content %}

{%
  with heading = "Check your information ",
       smaller = True
%}
{% include "toolkit/page-heading.html" %}
{% endwith %}



<div class="company-information-summary">

  {% if missing_fields|length > 0%}
  <div class="banner-warning-without-action">
    <p class="banner-message">
      You must answer all the questions
    </p>
  </div>
  {% endif %}

  {{ summary.heading('Your company details') }}
  {% call summary.mapping_table(
    caption="Summary table with content field as list",
    field_headings=[
      "Field name",
      "Field value",
    ],
    field_headings_visible=False
  ) %}
  {% call summary.row(complete=session.get("duns_number", None)) %}
  {{ summary.field_name("DUNS number") }}
  {{ summary.text(session.get("duns_number", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".duns_number")) }}
  {% endcall %}
  {% call summary.row() %}
  {{ summary.field_name("Companies House number") }}
  {{ summary.text(session["companies_house_number"]) }}
  {{ summary.edit_link("Edit", url_for(".companies_house_number")) }}
  {% endcall %}
  {% call summary.row(complete=session.get("company_name", None)) %}
  {{ summary.field_name("Company name") }}
  {{ summary.text(session.get("company_name", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".company_name")) }}
  {% endcall %}
  {% call summary.row(complete=session.get("contact_name", None)) %}
  {{ summary.field_name("Contact name") }}
  {{ summary.text(session.get("contact_name", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".company_contact_details")) }}
  {% endcall %}
  {% call summary.row(complete=session.get("phone_number", None)) %}
  {{ summary.field_name("Contact email") }}
  {{ summary.text(session.get("email_address", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".company_contact_details")) }}
  {% endcall %}
  {% call summary.row(complete=session.get("phone_number", None)) %}
  {{ summary.field_name("Contact phone number") }}
  {{ summary.text(session.get("phone_number", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".company_contact_details")) }}
  {% endcall %}
  {% endcall %}

  {{ summary.heading('Your login details') }}
  {% call summary.mapping_table(
    caption="Summary table with content field as list",
    field_headings=[
      "Field name",
      "Field value",
    ],
    field_headings_visible=False
  ) %}
    {% call summary.row(complete=session.get("account_email_address", None)) %}
    {{ summary.field_name("Email address") }}
    {{ summary.text(session.get("account_email_address", "You must answer this question.")) }}
    {{ summary.edit_link("Edit", url_for(".create_your_account")) }}
    {% endcall %}
  {% endcall %}
</div><commit_msg>Add appropriate captions to tables on supplier sign-up overview page<commit_after>{% extends "_base_page.html" %}
{% import "toolkit/summary-table.html" as summary %}

{% block page_title %}Check your information – Create a supplier account – Digital Marketplace{% endblock %}

{% block breadcrumb %}
{%
  with items = [
    {
      "link": "/",
      "label": "Digital Marketplace"
    }
  ]
%}
{% include "toolkit/breadcrumb.html" %}
{% endwith %}
{% endblock %}

{% block main_content %}

{%
  with heading = "Check your information ",
       smaller = True
%}
{% include "toolkit/page-heading.html" %}
{% endwith %}



<div class="company-information-summary">

  {% if missing_fields|length > 0%}
  <div class="banner-warning-without-action">
    <p class="banner-message">
      You must answer all the questions
    </p>
  </div>
  {% endif %}

  {{ summary.heading('Your company details') }}
  {% call summary.mapping_table(
    caption="Your company details",
    field_headings=[
      "Label",
      "Value",
    ],
    field_headings_visible=False
  ) %}
  {% call summary.row(complete=session.get("duns_number", None)) %}
  {{ summary.field_name("DUNS number") }}
  {{ summary.text(session.get("duns_number", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".duns_number")) }}
  {% endcall %}
  {% call summary.row() %}
  {{ summary.field_name("Companies House number") }}
  {{ summary.text(session["companies_house_number"]) }}
  {{ summary.edit_link("Edit", url_for(".companies_house_number")) }}
  {% endcall %}
  {% call summary.row(complete=session.get("company_name", None)) %}
  {{ summary.field_name("Company name") }}
  {{ summary.text(session.get("company_name", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".company_name")) }}
  {% endcall %}
  {% call summary.row(complete=session.get("contact_name", None)) %}
  {{ summary.field_name("Contact name") }}
  {{ summary.text(session.get("contact_name", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".company_contact_details")) }}
  {% endcall %}
  {% call summary.row(complete=session.get("phone_number", None)) %}
  {{ summary.field_name("Contact email") }}
  {{ summary.text(session.get("email_address", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".company_contact_details")) }}
  {% endcall %}
  {% call summary.row(complete=session.get("phone_number", None)) %}
  {{ summary.field_name("Contact phone number") }}
  {{ summary.text(session.get("phone_number", "You must answer this question.")) }}
  {{ summary.edit_link("Edit", url_for(".company_contact_details")) }}
  {% endcall %}
  {% endcall %}

  {{ summary.heading('Your login details') }}
  {% call summary.mapping_table(
    caption="Your login details",
    field_headings=[
      "Label",
      "Value",
    ],
    field_headings_visible=False
  ) %}
    {% call summary.row(complete=session.get("account_email_address", None)) %}
    {{ summary.field_name("Email address") }}
    {{ summary.text(session.get("account_email_address", "You must answer this question.")) }}
    {{ summary.edit_link("Edit", url_for(".create_your_account")) }}
    {% endcall %}
  {% endcall %}
</div>
{'fraction_non_alphanumeric': 0.18474080910629134, 'fraction_numerical': 0.00030764497769573913, 'mean_word_length': 4.333880229696472, 'pattern_counts': {'":': 4, '<': 15, '<?xml version=': 0, '>': 17, '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': '2001864', 'n_tokens_mistral': 2144, 'n_tokens_neox': 1995, 'n_words': 388}