parent
14d300162d
commit
95bfb61cf3
10 changed files with 138 additions and 102 deletions
|
@ -28,7 +28,7 @@
|
|||
{% if user.is_authenticated %}
|
||||
<form name="logout" action="/logout/" method="post">
|
||||
{% csrf_token %}
|
||||
Welcome, {% include 'snippets/username.html' %}
|
||||
Welcome, {% include 'snippets/username.html' with user=request.user %}
|
||||
<input type="submit" value="Log out"></input>
|
||||
</form>
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue