diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index 1e497a5..2bba5df 100644 --- a/templates/index.html +++ b/templates/index.html | |||
@@ -7,9 +7,11 @@ | |||
7 | <ul> | 7 | <ul> |
8 | <li><a href="{% url 'contact:form' %}">Contact Us</a></li> | 8 | <li><a href="{% url 'contact:form' %}">Contact Us</a></li> |
9 | {% if user.is_authenticated %} | 9 | {% if user.is_authenticated %} |
10 | <li><a href="{% url 'account:profile' %}">{{ user.username }}'s profile</a></li> | ||
10 | <li><a href="{% url 'auth:logout' %}">Logout ({{ user.username }})</a></li> | 11 | <li><a href="{% url 'auth:logout' %}">Logout ({{ user.username }})</a></li> |
11 | {% else %} | 12 | {% else %} |
12 | <li><a href="{% url 'auth:login' %}">Login</a></li> | 13 | <li><a href="{% url 'auth:login' %}">Login</a></li> |
14 | <li><a href="{% url 'account:create' %}">Register</a></li> | ||
13 | {% endif %} | 15 | {% endif %} |
14 | </ul> | 16 | </ul> |
15 | <p>You've just created your first Django page. Pretty cool, eh?</p> | 17 | <p>You've just created your first Django page. Pretty cool, eh?</p> |