add form of selection
This commit is contained in:
parent
6d138ed9b7
commit
93be13ccd1
12 changed files with 92 additions and 13 deletions
|
@ -22,9 +22,10 @@
|
|||
<nav class="navbar navbar-expand-md navbar-light " style="background-color: #f0f5f5">
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
<a class="navbar-brand">Welcome {{ user.username }}</a>
|
||||
<a href="{% url 'logout' %}" class="navbar-brand">Log Out</a>
|
||||
{% else %}
|
||||
<a class="navbar-brand">Log In</a>
|
||||
<a class="navbar-brand"></a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
<!--Any flash messages pop up in any page because this is the base template-->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue