root / snf-astakos-app / astakos / im / templates / im / profile.html @ 4f3653ca
History | View | Annotate | Download (885 Bytes)
1 |
{% extends "im/account_base.html" %} |
---|---|
2 |
|
3 |
{% block page.title %}Profile{% endblock %} |
4 |
|
5 |
{% block headjs %} |
6 |
{{ block.super }} |
7 |
<script src="{{ IM_STATIC_URL }}js/auth_methods.js"></script> |
8 |
<script>
|
9 |
var CHANGE_TOKEN_URL = '{% url update_token %}';
|
10 |
</script>
|
11 |
{% endblock %} |
12 |
{% block body %} |
13 |
|
14 |
<h2>GENERAL INFO</h2> |
15 |
<form action={%url edit_profile %} method="post" class="withlabels hidden-submit">{% csrf_token %} |
16 |
|
17 |
{% with profile_form as form %} |
18 |
{% include "im/form_render.html" %} |
19 |
{% endwith %} |
20 |
|
21 |
<div class="form-row submit"> |
22 |
<input type="hidden" name="next" value="{{ next }}"> |
23 |
<input type="hidden" name="auth" value="{{ user.auth_token }}"> |
24 |
<input type="submit" class="submit altcol" value="UPDATE" /> |
25 |
</div>
|
26 |
</form>
|
27 |
|
28 |
|
29 |
<div class="full-dotted"> |
30 |
{% include "im/profile_auth_methods.html" %} |
31 |
</div>
|
32 |
|
33 |
|
34 |
{% endblock body %} |