Update templates.rst with closing </li>

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

View file

@ -53,11 +53,11 @@ specific sections.
<h1>Flaskr</h1> <h1>Flaskr</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>