equal
deleted
inserted
replaced
|
1 {% extends "ldt/user/user_base.html" %} |
|
2 {# form of email address's change #} |
|
3 {% load i18n %} |
|
4 {% block breadcrumb %} |
|
5 <li></li> |
|
6 <li><a href="{% url ldt.user.views.profile %}">{% trans "Profiles" %}</a></li> |
|
7 <li>{% trans "Modification de l'adresse émail" %}</li> |
|
8 {% endblock %} |
|
9 |
|
10 {% block content_title %}{% trans "Modification de l'adresse émail" %}{% endblock %} |
|
11 {% block js_declaration %}{{ block.super }} |
|
12 <script type="text/javascript"> |
|
13 $(document).ready(function() { |
|
14 $("#change_email").validate(); |
|
15 }); |
|
16 </script> |
|
17 {% endblock %} |
|
18 {% block css_import %} |
|
19 {{ block.super }} |
|
20 <style type="text/css"> |
|
21 label.error { float: none; color: red; padding-left: .5em; vertical-align: middle; } |
|
22 </style> |
|
23 {% endblock %} |
|
24 |
|
25 {% block iricontent %} |
|
26 <p>{% trans "Please enter your new e-mail twice so we can verify you typed it in correctly." %}</p> |
|
27 <form action="" method="POST" id="change_email"> |
|
28 {% csrf_token %} |
|
29 <table> |
|
30 <tr> |
|
31 <td> |
|
32 <label for="id_email1">{% trans "email" %}:</label> |
|
33 </td> |
|
34 <td> |
|
35 <input id="id_email1" type="text" maxlength="75" name="email1" class="required email"/> |
|
36 </td> |
|
37 <td>{{form.email1.errors}}</td> |
|
38 <tr> |
|
39 </tr> |
|
40 <td> |
|
41 <label for="id_email2">{% trans "Confirmation de l'adresse émail" %}:</label> |
|
42 </td> |
|
43 <td> |
|
44 <input id="id_email2" type="text" maxlength="75" name="email2" class="required email"/> |
|
45 </td> |
|
46 <td>{{form.email1.errors}}</td> |
|
47 </tr> |
|
48 <tr><th></th><td><input type="submit" class="button" name="submit" value="{% trans 'change my e-mail' %}" /></td></tr> |
|
49 </table> |
|
50 </form> |
|
51 {% endblock%} |