<commit_before>{% extends 'adminbase.html.twig' %}

{% block title %}Renew - Insurance{% endblock %}

{% block body %}
    <nav class="breadcrumb">
        <a class="breadcrumb-item" href="/">Home</a>
        <a class="breadcrumb-item" href="{{ path('account_overview') }}">Account</a>
        <a class="breadcrumb-item" href="{{ path('account_membership') }}">Membership</a>
        <span class="breadcrumb-item active">Renew</span>
    </nav>

    <h2>Renew - Insurance</h2>

    {% if app.user.bcMembershipNumber %}
        <p>
            As an active British Canoeing member you are already insured.
        </p>
        <div class="alert alert-warning" role="alert">
            If you no longer have an active British Canoeing membership, please remove your membership number from <a href="{{ path('account_edit')}}" class="alert-link">your profile</a> before restarting the renewal process.
        </div>
    {% else %}
        <p>
            You do not appear to be a British Canoeing member, so will need to pay for insurance as part of your renewal.  For full details about the insurance provided by British Canoeing please <a href="https://www.britishcanoeing.org.uk/membership/club-membership/" target="_blank">see here</a>.
        </p>
        <div class="alert alert-warning" role="alert">
            If you have an active British Canoeing membership, please add your membership number to <a href="{{ path('account_edit')}}">your profile</a> before restarting the renewal process, to avoid paying for insurance again.
        </div>

    {% endif %}

    <div class="text-right">
        {{ form_start(form) }}
            {% for child in form.children %}
                {{ form_row(child) }}
            {% endfor %}

            <input type="submit" value="Next" class="btn btn-primary" />
        {{ form_end(form) }}
    </div>

{% endblock %}<commit_msg>Added data protection notice for associate members<commit_after>{% extends 'adminbase.html.twig' %}

{% block title %}Renew - Insurance{% endblock %}

{% block body %}
    <nav class="breadcrumb">
        <a class="breadcrumb-item" href="/">Home</a>
        <a class="breadcrumb-item" href="{{ path('account_overview') }}">Account</a>
        <a class="breadcrumb-item" href="{{ path('account_membership') }}">Membership</a>
        <span class="breadcrumb-item active">Renew</span>
    </nav>

    <h2>Renew - Insurance</h2>

    {% if app.user.bcMembershipNumber %}
        <p>
            As an active British Canoeing member you are already insured.
        </p>
        <div class="alert alert-warning" role="alert">
            <h4>No longer a British Canoeing Member?</h4>
            If you no longer have an active British Canoeing membership, please remove your membership number from <a href="{{ path('account_edit')}}" class="alert-link">your profile</a> before restarting the renewal process.
        </div>
    {% else %}
        <p>
            You do not appear to be a British Canoeing member, so will need to pay for insurance as part of your renewal.  For full details about the insurance provided by British Canoeing please <a href="https://www.britishcanoeing.org.uk/membership/club-membership/" target="_blank">see here</a>.
        </p>

        <div class="alert alert-warning" role="alert">
            <h4>Data Protection Notice</h4>
            By continuing you agree to Eagle Canoe Club passing on your name and contact details to British Canoeing for the purpose of providing you with insurance cover.
        </div>


        <div class="alert alert-warning" role="alert">
            <h4>British Canoeing Member?</h4>
            If you have an active British Canoeing membership, please add your membership number to <a href="{{ path('account_edit')}}">your profile</a> before restarting the renewal process, to avoid paying for insurance again.
        </div>

    {% endif %}

    <div class="text-right">
        {{ form_start(form) }}
            {% for child in form.children %}
                {{ form_row(child) }}
            {% endfor %}

            <input type="submit" value="Next" class="btn btn-primary" />
        {{ form_end(form) }}
    </div>

{% endblock %}
{'fraction_non_alphanumeric': 0.1346704871060172, 'fraction_numerical': 0.002387774594078319, 'mean_word_length': 2.7806859205776173, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3738335', 'n_tokens_mistral': 1228, 'n_tokens_neox': 1153, 'n_words': 386}