my_profile_form.html 1.16 KB
Newer Older
1
{% extends 'cms_page.html' %}
Patrick's avatar
Patrick committed
2
{% load static cms_tags sekizai_tags i18n l10n %}
Patrick's avatar
Patrick committed
3
{% block sub_content %}
Patrick's avatar
Patrick committed
4 5 6 7
    {% if update == "Ok" %}<p class="bg-success" style="color: #cec7c7"><strong>{% trans "Update done." %}</strong></p>{% endif %}
    {% if update == "Nok" %}<div class="has-error"><span class="help-block"><strong>{% trans "Update not done." %}</strong></span></div>{% endif %}
    <form name="{{ form.form_name }}" method="post" action="." validate>
        {% csrf_token %}
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 "Update" %}</button></div>
Patrick's avatar
Patrick committed
9 10
        {% trans "All informations bellow are visible to all members except your phone and email. You have the choice to specify if your phone and/or mail are visible to others members." %}
        <p>{% if membership_fee_valid_until %}<i>{% trans "Your membership fee is valid until" %} : <u>{{ membership_fee_valid_until }}</u></i>{% endif %}</p>
Patrick's avatar
Patrick committed
11 12 13 14
        {{ form.as_div }}
    </form>
    {% addtoblock "css" %}{{ form.media.css }}{% endaddtoblock %}
    {% addtoblock "jshead" %}{{ form.media.js }}{% endaddtoblock %}
Patrick's avatar
Patrick committed
15
{% endblock %}