reference.html 1.71 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
{% extends "base.html" %}
{% load i18n bootstrap4 alert %}

{% block title %}{% trans "reference"|capfirst %} — {{ block.super }}{% endblock %}

{% block body %}
    <section class="page-section">
        <div class="container">
            <h1 class="text-center section-title">{% trans "give reference" %}</h1>

            <p class="text-center">
                {% blocktrans trimmed %}
                    It is still possible to be associated with Thalia, even if you do not study Computing
                    Science or Information Sciences (anymore): You can become a benefactor.
                    If you are not a former Thalia member, iCIS staff member or alumni,
                    you must collect two references of current Thalia members.
                    <br /><br />
                    <strong>{{ name }}</strong> wants to become a benefactor of Thalia and
                    needs such a reference and has asked you to give it to them.
                {% endblocktrans %}
            </p>

            <hr/>

            {% if success %}
                {% trans "Your reference has been saved." as alert_text %}
                {% alert 'success' alert_text extra_classes="mt-3" %}
            {% elif form.errors %}
29 30 31
                {% for error in form.non_field_errors %}
                    {% alert 'danger' error extra_classes="mt-3" %}
                {% endfor %}
32 33 34 35 36 37 38 39 40 41 42 43
            {% else %}
            <form method="post" class="">
                {% csrf_token %}

                <input type="submit"
                       value="{% trans 'give reference'|capfirst %}"
                       class="btn btn-primary col-12"/>
            </form>
            {% endif %}
        </div>
    </section>
{% endblock %}