<commit_before><!DOCTYPE html>
<html lang="en" class="govuk-template" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:insert="fragments/layout :: head" th:with="pageTitle='Create an application - Confirm your organisation '" />
</head>
<body class="govuk-template__body create-application-organisation">

<th:block th:insert="fragments/layout :: body-start" />
<th:block th:insert="fragments/layout :: global-header" />

<div class="govuk-width-container">
    <th:block th:insert="fragments/layout :: phase-banner" />
    <th:block th:insert="fragments/layout :: header-sub" th:with="linkTitle='Back',linkUrl='/organisation/create/find-organisation',currentApplication=${currentApplication},dynamicBackLink=${true}" />

    <main class="govuk-main-wrapper" id="main-content" role="main">
        <th:block th:insert="fragments/layout :: page-title" th:with="pageTitle='Confirm your organisation',subTitle=${subtitle},size='govuk-heading-xl'" />

        <th:block th:if="${isLeadApplicant}" >
            <p th:if="${improvedSearchEnabled}" class="govuk-body govuk-!-margin-top-6">This organisation will lead the application.</p>
            <p th:unless="${improvedSearchEnabled}" class="govuk-body govuk-!-margin-top-6">This is the organisation that will lead the application.</p>
        </th:block>

         <p th:unless="${isLeadApplicant}" class="govuk-body govuk-!-margin-top-6">This is the organisation that you will join the <th:block th:text="${isApplicantJourney ? 'application' :  'project'}">application</th:block> with.</p>

        <dl class="govuk-list readonly-data">
            <dt>Organisation type</dt>
            <dd th:text="${organisationType.name}">Business</dd>

            <dt>Business type</dt>
            <dd th:text="${organisationForm.businessType}">Business Type</dd>

            <th:block th:if="${includeInternationalQuestion}">
                <dt>Is your organisation based in the UK?</dt>
                <dd>Yes</dd>
            </th:block>

            <dt>Organisation name</dt>
            <dd th:text="${organisationForm.organisationName}">name</dd>

            <th:block th:unless="${organisationForm.research}">
                <th:block th:if="${selectedOrganisation?.organisationSearchId}">
                    <dt>Registration number</dt>
                    <dd th:text="${selectedOrganisation?.organisationSearchId}"></dd>
                </th:block>
            </th:block>

            <th:block th:if="${organisationForm.organisationNumber != null}">
                <dt>Organisation number</dt>
                <dd th:text="${organisationForm.organisationNumber}"></dd>
            </th:block>

            <th:block th:if="${organisationForm.sicCodes != null}">
                <dt>SIC code</dt>
                <dd>
                    <div th:each="sicCode : ${organisationForm.sicCodes}" th:text="${sicCode.sicCode}"></div>
                </dd>
            </th:block>

            <th:block th:if="${organisationForm.executiveOfficers != null}">
                <dt>Executive officers</dt>
                <dd>
                    <div th:each="execOfficer : ${organisationForm.executiveOfficers}" th:text="${execOfficer.name}"></div>
                </dd>
            </th:block>

            <th:block th:if="${selectedOrganisation?.organisationAddress != null}">
                <th:block th:if="${improvedSearchEnabled}" >
                    <dt>Registered address</dt>
                </th:block>
                <th:block th:unless="${improvedSearchEnabled}" >
                    <dt>Address</dt>
                </th:block>

                <dd>
                    <div th:text="${selectedOrganisation?.organisationAddress?.addressLine1}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.addressLine2}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.addressLine3}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.town}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.county}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.postcode}"></div>
                </dd>
            </th:block>
        </dl>
<commit_msg>IFS-7724: IFS-7724 Add manual entry checks to the confirm page.<commit_after><!DOCTYPE html>
<html lang="en" class="govuk-template" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:insert="fragments/layout :: head" th:with="pageTitle='Create an application - Confirm your organisation '" />
</head>
<body class="govuk-template__body create-application-organisation">

<th:block th:insert="fragments/layout :: body-start" />
<th:block th:insert="fragments/layout :: global-header" />

<div class="govuk-width-container">
    <th:block th:insert="fragments/layout :: phase-banner" />
    <th:block th:insert="fragments/layout :: header-sub" th:with="linkTitle='Back',linkUrl='/organisation/create/find-organisation',currentApplication=${currentApplication},dynamicBackLink=${true}" />

    <main class="govuk-main-wrapper" id="main-content" role="main">
        <th:block th:insert="fragments/layout :: page-title" th:with="pageTitle='Confirm your organisation',subTitle=${subtitle},size='govuk-heading-xl'" />

        <th:block th:if="${isLeadApplicant}" >
            <p th:if="${improvedSearchEnabled}" class="govuk-body govuk-!-margin-top-6">This organisation will lead the application.</p>
            <p th:unless="${improvedSearchEnabled}" class="govuk-body govuk-!-margin-top-6">This is the organisation that will lead the application.</p>
        </th:block>

         <p th:unless="${isLeadApplicant}" class="govuk-body govuk-!-margin-top-6">This is the organisation that you will join the <th:block th:text="${isApplicantJourney ? 'application' :  'project'}">application</th:block> with.</p>

        <dl class="govuk-list readonly-data">
            <dt>Organisation type</dt>
            <dd th:text="${organisationType.name}">Business</dd>

            <th:block th:if="${organisationForm.businessType != null and organisationForm.manualEntry }">
              <dt>Business type</dt>
              <dd th:text="${organisationForm.businessType}">Business Type</dd>
            </th:block>
            <th:block th:if="${includeInternationalQuestion}">
                <dt>Is your organisation based in the UK?</dt>
                <dd>Yes</dd>
            </th:block>

            <dt>Organisation name</dt>
            <dd th:text="${organisationForm.organisationName}">name</dd>

            <th:block th:unless="${organisationForm.research}">
                <th:block th:if="${selectedOrganisation?.organisationSearchId}">
                    <dt>Registration number</dt>
                    <dd th:text="${selectedOrganisation?.organisationSearchId}"></dd>
                </th:block>
            </th:block>

            <th:block th:if="${organisationForm.organisationNumber != null and organisationForm.manualEntry}">
                <dt>Organisation number</dt>
                <dd th:text="${organisationForm.organisationNumber}"></dd>
            </th:block>

            <th:block th:if="${organisationForm.sicCodes != null and organisationForm.manualEntry}">
                <dt>SIC code</dt>
                <dd>
                    <div th:each="sicCode : ${organisationForm.sicCodes}" th:text="${sicCode.sicCode}"></div>
                </dd>
            </th:block>

            <th:block th:if="${organisationForm.executiveOfficers != null and organisationForm.manualEntry}">
                <dt>Executive officers</dt>
                <dd>
                    <div th:each="execOfficer : ${organisationForm.executiveOfficers}" th:text="${execOfficer.name}"></div>
                </dd>
            </th:block>

            <th:block th:if="${selectedOrganisation?.organisationAddress != null}">
                <th:block th:if="${improvedSearchEnabled}" >
                    <dt>Registered address</dt>
                </th:block>
                <th:block th:unless="${improvedSearchEnabled}" >
                    <dt>Address</dt>
                </th:block>

                <dd>
                    <div th:text="${selectedOrganisation?.organisationAddress?.addressLine1}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.addressLine2}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.addressLine3}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.town}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.county}"></div>
                    <div th:text="${selectedOrganisation?.organisationAddress?.postcode}"></div>
                </dd>
            </th:block>
        </dl>

{'fraction_non_alphanumeric': 0.16268320180383314, 'fraction_numerical': 0.002254791431792559, 'mean_word_length': 2.6536243822075782, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 199, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '1799891', 'n_tokens_mistral': 2575, 'n_tokens_neox': 2439, 'n_words': 387}