1
0
Fork 0

Snippets for book previews, username links, avatars

This commit is contained in:
Mouse Reeve 2020-02-10 21:23:21 -08:00
parent 3ba76a8b13
commit f9cb9f939a
7 changed files with 15 additions and 14 deletions

View file

@ -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 %}