Update base.html with closing </li>

This commit is contained in:
niklas netter 2024-05-11 23:11:06 +02:00 committed by GitHub
parent 66d3774143
commit cb10930b4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,11 +5,11 @@
<h1><a href="{{ url_for('index') }}">Flaskr</a></h1> <h1><a href="{{ url_for('index') }}">Flaskr</a></h1>
<ul> <ul>
{% if g.user %} {% if g.user %}
<li><span>{{ g.user['username'] }}</span> <li><span>{{ g.user['username'] }}</span></li>
<li><a href="{{ url_for('auth.logout') }}">Log Out</a> <li><a href="{{ url_for('auth.logout') }}">Log Out</a></li>
{% else %} {% else %}
<li><a href="{{ url_for('auth.register') }}">Register</a> <li><a href="{{ url_for('auth.register') }}">Register</a></li>
<li><a href="{{ url_for('auth.login') }}">Log In</a> <li><a href="{{ url_for('auth.login') }}">Log In</a></li>
{% endif %} {% endif %}
</ul> </ul>
</nav> </nav>