<commit_before><!DOCTYPE html>
<html class="no-js" lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <div th:include="fragments/layout :: head" th:with="pageTitle='Create an application'" th:remove="tag"/>
</head>
<body th:with="context='applicant'" class="create-application-eligibility">

<div th:include="fragments/layout :: body-start" th:remove="tag"/>
<div th:include="fragments/layout :: global-header" th:remove="tag"/>

<main id="content">
    <div th:include="fragments/layout :: main-content-start" th:remove="tag"/>

    <h2 class="heading-large">Your organisation</h2>

    <div class="panel">

        <p>You have been invited to join a collaborative application for the competition <a th:href="${'/competition/'+invite.competitionId+'/details'}" th:text="${invite.competitionName}" />.</p>
        <p>Lead organisation: <strong><span th:text="${invite.leadOrganisation}"></span></strong><br />
            Lead applicant: <strong><span th:text="${invite.leadApplicant}"></span></strong></p>

        <p>The lead applicant has invited you to join this application on behalf of the following organisation:
            <strong>
                <span th:if="${invite.inviteOrganisationNameConfirmed}" th:text="${invite.inviteOrganisationNameConfirmed}"></span>
                <span th:unless="${invite.inviteOrganisationNameConfirmed}" th:text="${invite.inviteOrganisationName}"></span>
            </strong></p>

        <p>If this is not the correct organisation <a th:href="'mailto:'+ ${invite.leadApplicantEmail}">email the application lead</a></p>
    </div>

    <h2 class="heading-medium" th:unless="${organisationParentType}">Please select your organisation type</h2>

    <h2 class="heading-large" th:if="${organisationParentType}" th:text="${organisationParentTypeTitle} + ''"></h2>
    <h2 class="heading-medium" th:if="${organisationParentType} and ${organisationParentType.name() == 'RESEARCH'}">Please select your type of research organisation</h2>

    <form th:object="${organisationTypeForm}" th:action="@{/organisation/create/type/new-account-organisation-type/}" method="POST">
        <fieldset>
            <legend class="visuallyhidden">Please select your organisation type</legend>
            <div th:class="${#fields.hasErrors('*{organisationType}')} ? 'form-block error' : 'form-block'">
                <span class="error-message" th:if="${#fields.hasErrors('*{organisationType}')}" th:errors="*{organisationType}"></span>
                <label class="block-label selection-button-radio" th:each="type : ${organisationTypes}" th:for="'radio-'+ ${type.id}">
                    <input th:id="'radio-'+ ${type.id}" type="radio" th:field="*{organisationType}" required="required" th:value="${type.id}"/>
                    <span th:text="${type.name}"></span>
                </label>
            </div>
        </fieldset>
        <button class="button button-large extra-margin" name="select-company-type" type="submit" >Continue</button>
    </form>

    <div th:include="fragments/layout :: main-content-end" th:remove="tag"/>
</main>

<div th:include="fragments/layout :: footer" th:remove="tag"/>
<div th:include="fragments/layout :: body-end" th:remove="tag"/>
</body>
</html><commit_msg>INFUND-7356 Amend organisation level two text for Reserach to remove invite message<commit_after><!DOCTYPE html>
<html class="no-js" lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <div th:include="fragments/layout :: head" th:with="pageTitle='Create an application'" th:remove="tag"/>
</head>
<body th:with="context='applicant'" class="create-application-eligibility">

<div th:include="fragments/layout :: body-start" th:remove="tag"/>
<div th:include="fragments/layout :: global-header" th:remove="tag"/>

<main id="content">
    <div th:include="fragments/layout :: main-content-start" th:remove="tag"/>

    <h2 class="heading-large">Your organisation</h2>
    <th:block th:unless="${organisationParentType}">
        <div class="panel">
            <p>You have been invited to join a collaborative application for the competition <a th:href="${'/competition/'+invite.competitionId+'/details'}" th:text="${invite.competitionName}" />.</p>
            <p>Lead organisation: <strong><span th:text="${invite.leadOrganisation}"></span></strong><br />
                Lead applicant: <strong><span th:text="${invite.leadApplicant}"></span></strong></p>

            <p>The lead applicant has invited you to join this application on behalf of the following organisation:
                <strong>
                    <span th:if="${invite.inviteOrganisationNameConfirmed}" th:text="${invite.inviteOrganisationNameConfirmed}"></span>
                    <span th:unless="${invite.inviteOrganisationNameConfirmed}" th:text="${invite.inviteOrganisationName}"></span>
                </strong>
            </p>
            <p>If this is not the correct organisation <a th:href="'mailto:'+ ${invite.leadApplicantEmail}">email the application lead</a></p>
        </div>
        <h2 class="heading-medium" th:unless="${organisationParentType}">Please select your organisation type</h2>
    </th:block>

    <th:block th:if="${organisationParentType}">
        <p class="form-hint icon-info-small-blue">Your organisation must be UK based to receive funding from Innovate UK</p>
        <h2 class="heading-large" th:text="${organisationParentTypeTitle}" />
        <h2 class="heading-medium" th:if="${organisationParentType.name() == 'RESEARCH'}">Please select your type of research organisation</h2>
    </th:block>

    <form th:object="${organisationTypeForm}" th:action="@{/organisation/create/type/new-account-organisation-type/}" method="POST">
        <fieldset>
            <legend class="visuallyhidden">Please select your organisation type</legend>
            <div th:class="${#fields.hasErrors('*{organisationType}')} ? 'form-block error' : 'form-block'">
                <span class="error-message" th:if="${#fields.hasErrors('*{organisationType}')}" th:errors="*{organisationType}"></span>
                <label class="block-label selection-button-radio" th:each="type : ${organisationTypes}" th:for="'radio-'+ ${type.id}">
                    <input th:id="'radio-'+ ${type.id}" type="radio" th:field="*{organisationType}" required="required" th:value="${type.id}"/>
                    <span th:text="${type.name}"></span>
                </label>
            </div>
        </fieldset>
        <button class="button button-large extra-margin" name="select-company-type" type="submit" >Continue</button>
    </form>

    <div th:include="fragments/layout :: main-content-end" th:remove="tag"/>
</main>

<div th:include="fragments/layout :: footer" th:remove="tag"/>
<div th:include="fragments/layout :: body-end" th:remove="tag"/>
</body>
</html>
{'fraction_non_alphanumeric': 0.1837933059307105, 'fraction_numerical': 0.0042571931884908985, 'mean_word_length': 4.088125466766243, 'pattern_counts': {'":': 0, '<': 146, '<?xml version=': 0, '>': 146, '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': '3147202', 'n_tokens_mistral': 2064, 'n_tokens_neox': 1974, 'n_words': 397}