File tree Expand file tree Collapse file tree
16-profile-app/16-01-profile-app-part-1/templates/allauth Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < title > {% block head_title %}{% endblock %}</ title >
5+ {% block extra_head %}
6+ {% endblock %}
7+ </ head >
8+ < body >
9+ {% block body %}
10+
11+ {% if messages %}
12+ < div >
13+ < strong > Messages:</ strong >
14+ < ul >
15+ {% for message in messages %}
16+ < li > {{message}}</ li >
17+ {% endfor %}
18+ </ ul >
19+ </ div >
20+ {% endif %}
21+
22+ < div >
23+ < strong > Menu:</ strong >
24+ < ul >
25+ {% if user.is_authenticated %}
26+ < li > < a href ="{% url 'account_email' %} "> Change E-mail</ a > </ li >
27+ < li > < a href ="{% url 'account_logout' %} "> Sign Out</ a > </ li >
28+ {% else %}
29+ < li > < a href ="{% url 'account_login' %} "> Sign In</ a > </ li >
30+ < li > < a href ="{% url 'account_signup' %} "> Sign Up</ a > </ li >
31+ {% endif %}
32+ </ ul >
33+ </ div >
34+ {% block content %}
35+ {% endblock %}
36+ {% endblock %}
37+ {% block extra_body %}
38+ {% endblock %}
39+ </ body >
40+ </ html >
You can’t perform that action at this time.
0 commit comments