Snippets for book previews, username links, avatars
This commit is contained in:
parent
3ba76a8b13
commit
f9cb9f939a
7 changed files with 15 additions and 14 deletions
|
@ -28,7 +28,7 @@
|
|||
{% if user.is_authenticated %}
|
||||
<form name="logout" action="/logout/" method="post">
|
||||
{% csrf_token %}
|
||||
Welcome, <a href="/user/{{ request.user.localname }}">{{ request.user.localname }}</a>
|
||||
Welcome, {% include 'snippets/username.html' %}
|
||||
<input type="submit" value="Log out"></input>
|
||||
</form>
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue