<commit_before><!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<!-- ===========================Project setup select address=========================== -->

<div th:fragment="select-address">
    <fieldset>
      <div class="form-group" th:classappend="${#fields.hasErrors('*{addressType}') ? 'error' : ''}">
        <legend>
            <span class="visuallyhidden">Operating address</span>
            <span th:if="${#fields.hasErrors('*{addressType}')}" th:remove="tag">
                <span class="error-message" th:each="err : ${#fields.errors('addressType')}" th:text="${err}" />
            </span>
        </legend>

        <div class="form-block" th:if="${model.registeredAddress}">
            <label class="block-label selection-button-radio" for="address-use-org" data-target="registeredAddress">
                <input id="address-use-org" type="radio" name="bank-address-group" required="required" th:attr="data-required-errormessage=#{validation.bankdetailsresource.organisationaddress.required}" value="REGISTERED" th:field="*{addressType}"/>
                Use organisation address (<strong th:text="${model.registeredAddress.postcode}">BS1 4NT</strong>)
            </label>
        </div>

        <div class="form-block" th:if="${model.operatingAddress}">
            <label class="block-label selection-button-radio" for="address-use-operating" data-target="operatingAddress">
                <input id="address-use-operating" type="radio" name="bank-address-group" required="required" th:attr="data-required-errormessage=#{validation.bankdetailsresource.organisationaddress.required}" value="OPERATING" th:field="*{addressType}"/>
                Use operating address (<strong th:text="${model.operatingAddress?.postcode}">SN1 2UE</strong>)
            </label>
        </div>

        <div class="form-block" th:if="${model.bankAddress}">
            <label class="block-label selection-button-radio" for="address-use-bank" data-target="bankAddress">
                <input id="address-use-bank" type="radio" name="bank-address-group" required="required" th:attr="data-required-errormessage=#{validation.bankdetailsresource.organisationaddress.required}" value="BANK_DETAILS" th:field="*{addressType}"/>
                Use bank address (<strong th:text="${model.bankAddress?.postcode}">SN1 2EE</strong>)
            </label>
        </div>

        <div class="form-block">
            <label class="block-label selection-button-radio" for="address-add-bank" data-target="custom-postcode">
                <input id="address-add-bank" type="radio" name="bank-address-group" required="required" th:attr="data-required-errormessage=#{validation.bankdetailsresource.organisationaddress.required}" value="ADD_NEW" th:field="*{addressType}"/>
                Enter an alternative banking address
            </label>
        </div>
      </div>
    </fieldset>

    <div id="registeredAddress" class="boxed extra-margin" th:if="${model.registeredAddress}">
        <h3 class="heading-medium no-margin-top">Confirm bank address</h3>
        <p>
          <span th:each="addressLine : ${model.registeredAddress.getNonEmptyLines()}" th:remove="tag">
              <span th:text="${addressLine}" th:remove="tag">An address line</span><br />
          </span>
        </p>
    </div>
    <div id="operatingAddress" class="boxed extra-margin" th:if="${model.operatingAddress}">
        <h3 class="heading-medium no-margin-top" th:text="${(address != null and address == 'bankDetails' ? 'Confirm organisation address' : 'Confirm banking address')}">LOCATION TITLE</h3>
        <p>
          <span th:each="addressLine : ${model.operatingAddress.getNonEmptyLines()}" th:remove="tag">
              <span th:text="${addressLine}" th:remove="tag">An address line</span><br />
          </span>
        </p>
    </div>
    <div id="bankAddress" class="boxed extra-margin" th:if="${model.bankAddress}">
        <h3 class="heading-medium no-margin-top">Confirm banking address</h3>
        <p>
          <span th:each="addressLine : ${model.operatingAddress.getNonEmptyLines()}" th:remove="tag">
              <span th:text="${addressLine}" th:remove="tag">An address line</span><br />
          </span>
        </p><commit_msg>INFUND-9067: Fix content 'bank address' to 'billing address' in PS<commit_after><!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<!-- ===========================Project setup select address=========================== -->

<div th:fragment="select-address">
    <fieldset>
      <div class="form-group" th:classappend="${#fields.hasErrors('*{addressType}') ? 'error' : ''}">
        <legend>
            <span class="visuallyhidden">Operating address</span>
            <span th:if="${#fields.hasErrors('*{addressType}')}" th:remove="tag">
                <span class="error-message" th:each="err : ${#fields.errors('addressType')}" th:text="${err}" />
            </span>
        </legend>

        <div class="form-block" th:if="${model.registeredAddress}">
            <label class="block-label selection-button-radio" for="address-use-org" data-target="registeredAddress">
                <input id="address-use-org" type="radio" name="bank-address-group" required="required" th:attr="data-required-errormessage=#{validation.bankdetailsresource.organisationaddress.required}" value="REGISTERED" th:field="*{addressType}"/>
                Use organisation address (<strong th:text="${model.registeredAddress.postcode}">BS1 4NT</strong>)
            </label>
        </div>

        <div class="form-block" th:if="${model.operatingAddress}">
            <label class="block-label selection-button-radio" for="address-use-operating" data-target="operatingAddress">
                <input id="address-use-operating" type="radio" name="bank-address-group" required="required" th:attr="data-required-errormessage=#{validation.bankdetailsresource.organisationaddress.required}" value="OPERATING" th:field="*{addressType}"/>
                Use operating address (<strong th:text="${model.operatingAddress?.postcode}">SN1 2UE</strong>)
            </label>
        </div>

        <div class="form-block">
            <label class="block-label selection-button-radio" for="address-add-bank" data-target="custom-postcode">
                <input id="address-add-bank" type="radio" name="bank-address-group" required="required" th:attr="data-required-errormessage=#{validation.bankdetailsresource.organisationaddress.required}" value="ADD_NEW" th:field="*{addressType}"/>
                Enter an alternative billing address
            </label>
        </div>
      </div>
    </fieldset>

    <div id="registeredAddress" class="boxed extra-margin" th:if="${model.registeredAddress}">
        <h3 class="heading-medium no-margin-top">Confirm billing address</h3>
        <p>
          <span th:each="addressLine : ${model.registeredAddress.getNonEmptyLines()}" th:remove="tag">
              <span th:text="${addressLine}" th:remove="tag">An address line</span><br />
          </span>
        </p>
    </div>
    <div id="operatingAddress" class="boxed extra-margin" th:if="${model.operatingAddress}">
        <h3 class="heading-medium no-margin-top" th:text="${(address != null and address == 'bankDetails' ? 'Confirm organisation address' : 'Confirm billing address')}">LOCATION TITLE</h3>
        <p>
          <span th:each="addressLine : ${model.operatingAddress.getNonEmptyLines()}" th:remove="tag">
              <span th:text="${addressLine}" th:remove="tag">An address line</span><br />
          </span>
        </p>
    </div>
    <div id="bankAddress" class="boxed extra-margin" th:if="${model.bankAddress}">
        <h3 class="heading-medium no-margin-top">Confirm banking address</h3>
        <p>
          <span th:each="addressLine : ${model.operatingAddress.getNonEmptyLines()}" th:remove="tag">
              <span th:text="${addressLine}" th:remove="tag">An address line</span><br />
          </span>
        </p>
{'fraction_non_alphanumeric': 0.18736710444027518, 'fraction_numerical': 0.00450281425891182, 'mean_word_length': 3.4946599213041036, 'pattern_counts': {'":': 0, '<': 142, '<?xml version=': 0, '>': 142, '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': '539910', 'n_tokens_mistral': 2335, 'n_tokens_neox': 2253, 'n_words': 390}