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

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

<main tabindex="-1" id="content">
    <th:block th:insert="fragments/layout :: main-content-start" />
    <th:block th:insert="fragments/layout :: header-sub" th:with="linkTitle='Back',linkClass='link-back',linkUrl='javascript:history.back()',currentApplication=${currentApplication}" />

    <div class="error-summary" th:if="${#fields.hasErrors('${organisationForm.organisationTypeId}')}">
        <h2 class="heading-medium error-summary-heading">We were unable to save your changes</h2>
        <ul class="error-summary-list">
            <li th:each="err : ${#fields.errors('${organisationForm.organisationTypeId}')}" th:text="${err}"></li>
        </ul>
    </div>

    <h1 class="heading-xlarge">
        <span class="heading-secondary">Create your account</span>
        Choose your organisation type
    </h1>

    <div class="message-alert extra-margin-bottom">
        <p>Your organisation must be UK based to receive funding from Innovate UK.</p>
    </div>

    <form th:object="${organisationForm}" th:action="@{/organisation/create/lead-organisation-type}" method="POST" novalidate="novalidate">
        <div th:class="${#fields.hasErrors('*{organisationTypeId}')} ? 'form-block error' : 'form-block'">
            <fieldset>
                <legend class="extra-margin-bottom">
                    <span class="visuallyhidden">Please select your organisation type</span>
                    <th:block th:if="${#fields.hasErrors('*{organisationTypeId}')}">
                        <span class="error-message"  th:each="err : ${#fields.errors('*{organisationTypeId}')}" th:text="${err}"></span>
                    </th:block>
                </legend>
                <div class="multiple-choice" th:each="type : ${model.types}" th:attr="data-target=${T(org.innovateuk.ifs.user.resource.OrganisationTypeEnum).RTO.id == type.id ? 'rto-guidance' : null}">
                    <input th:id="'radio-'+ ${type.id}" type="radio"
                           th:field="*{organisationTypeId}"
                           required="required"
                           th:attr="data-required-errormessage=#{validation.standard.organisationtype.required}"
                           th:value="${type.id}" />
                    <label th:for="'radio-'+ ${type.id}">
                        <span th:text="${type.name}"></span>
                        <span class="form-hint" th:text="${type.description}"></span>
                    </label>
                    <div th:if="${T(org.innovateuk.ifs.user.resource.OrganisationTypeEnum).RTO.id == type.id}" id="rto-guidance" class="panel">
                        <h2 class="heading-small">You can only lead an application as an RTO if both the following rules are met:</h2>
                        <ul class="list-bullet">
                            <li>you must prove within the scope section of your application that you are the best placed consortium partner to lead this project</li>
                            <li>your project is essential to lay the foundations for the growth of an early stage industry</li>
                        </ul>
                    </div>
                </div>

            </fieldset>
        </div>


        <p>
            If your organisation type is not listed contact the <a th:href="@{/info/contact}">customer support service</a>.
        </p><commit_msg>IFS-1013 - Fixed some indentation issues<commit_after><!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" class="no-js" lang="en">
<head>
    <th:block th:insert="fragments/layout :: head" th:with="pageTitle='Create an application'" />
</head>
<body th:with="context='applicant'" class="create-application-organisation">

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

<main tabindex="-1" id="content">
    <th:block th:insert="fragments/layout :: main-content-start" />
    <th:block th:insert="fragments/layout :: header-sub" th:with="linkTitle='Back',linkClass='link-back',linkUrl='javascript:history.back()',currentApplication=${currentApplication}" />

    <div class="error-summary" th:if="${#fields.hasErrors('${organisationForm.organisationTypeId}')}">
        <h2 class="heading-medium error-summary-heading">We were unable to save your changes</h2>
        <ul class="error-summary-list">
            <li th:each="err : ${#fields.errors('${organisationForm.organisationTypeId}')}" th:text="${err}"></li>
        </ul>
    </div>

    <h1 class="heading-xlarge">
        <span class="heading-secondary">Create your account</span>
        Choose your organisation type
    </h1>

    <div class="message-alert extra-margin-bottom">
        <p>Your organisation must be UK based to receive funding from Innovate UK.</p>
    </div>

    <form th:object="${organisationForm}" th:action="@{/organisation/create/lead-organisation-type}" method="POST" novalidate="novalidate">
        <div th:class="${#fields.hasErrors('*{organisationTypeId}')} ? 'form-block error' : 'form-block'">
            <fieldset>
                <legend class="extra-margin-bottom">
                    <span class="visuallyhidden">Please select your organisation type</span>
                    <th:block th:if="${#fields.hasErrors('*{organisationTypeId}')}">
                        <span class="error-message"  th:each="err : ${#fields.errors('*{organisationTypeId}')}" th:text="${err}"></span>
                    </th:block>
                </legend>
                <th:block th:each="type : ${model.types}" th:attr="data-target=${T(org.innovateuk.ifs.user.resource.OrganisationTypeEnum).RTO.id == type.id ? 'rto-guidance' : null}">
                    <div class="multiple-choice">
                        <input th:id="'radio-'+ ${type.id}" type="radio"
                               th:field="*{organisationTypeId}"
                               required="required"
                               th:attr="data-required-errormessage=#{validation.standard.organisationtype.required}"
                               th:value="${type.id}" />
                        <label th:for="'radio-'+ ${type.id}">
                            <span th:text="${type.name}"></span>
                            <span class="form-hint" th:text="${type.description}"></span>
                        </label>
                    </div>
                    <div th:if="${T(org.innovateuk.ifs.user.resource.OrganisationTypeEnum).RTO.id == type.id}" id="rto-guidance" class="panel">
                        <h2 class="heading-small">You can only lead an application as an RTO if both the following rules are met:</h2>
                        <ul class="list-bullet">
                            <li>you must prove within the scope section of your application that you are the best placed consortium partner to lead this project</li>
                            <li>your project is essential to lay the foundations for the growth of an early stage industry</li>
                        </ul>
                    </div>
                </th:block>

            </fieldset>
        </div>


        <p>
            If your organisation type is not listed contact the <a th:href="@{/info/contact}">customer support service</a>.
        </p>
{'fraction_non_alphanumeric': 0.16169154228855723, 'fraction_numerical': 0.003665881120712228, 'mean_word_length': 2.4425416854438935, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '686336', 'n_tokens_mistral': 2184, 'n_tokens_neox': 2086, 'n_words': 435}