12 lines
265 B
HTML
12 lines
265 B
HTML
|
<nav>
|
||
|
{% if username %}
|
||
|
<span>logged in as <em>{{username}}</em></span>
|
||
|
|
||
|
<a href="{{ url_for('auth.logout') }}">Log Out</a>
|
||
|
{% else %}
|
||
|
<a href="{{ url_for('auth.register') }}">Register</a>
|
||
|
|
||
|
<a href="{{ url_for('auth.login') }}">Log In</a>
|
||
|
{% endif %}
|
||
|
</nav>
|