send_mail_to_all_members.html 1.05 KB
Newer Older
1
{% extends 'cms_page.html' %}
2
{% load cms_tags sekizai_tags i18n l10n %}
Patrick's avatar
Patrick committed
3
{% block sub_content %}
Patrick's avatar
Patrick committed
4
    {% if update == '2' %}<p class="bg-success">{% trans "The mail has been send" %}</p>{% endif %}
Patrick's avatar
Patrick committed
5 6
    <form name="{{ form.form_name }}" method="post" action="." validate>
        {% csrf_token %}
Patrick's avatar
Patrick committed
7
        {% if update != '2' %}
Patrick's avatar
Patrick committed
8
        <div class="form-group"><button type="submit" ng-disabled="{{ form.form_name }}.$invalid" class="btn btn-default pull-right">{% trans "Send e-mail" %}</button></div>
Patrick's avatar
Patrick committed
9 10 11 12 13 14 15 16 17 18
        {% endif %}
        {% if coordinator %}
            <div class="bg-danger">
            <blockquote><small>
            {% trans "This message will be send to all members as coordinator." %}
            </small></blockquote>
            </div>
        {% else %}
            {% trans "This message will be send only to members who accept to show they email." %}
        {% endif %}
Patrick's avatar
Patrick committed
19 20 21 22
        {{ form.as_div }}
    </form>
    {% addtoblock "css" %}{{ form.media.css }}{% endaddtoblock %}
    {% addtoblock "jshead" %}{{ form.media.js }}{% endaddtoblock %}
Patrick's avatar
Patrick committed
23
{% endblock %}