Skip to content

Commit

Permalink
Update templates.rst with closing </li>
Browse files Browse the repository at this point in the history
  • Loading branch information
gatoniel committed May 11, 2024
1 parent 255c8d6 commit 66d3774
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/tutorial/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ specific sections.
<h1>Flaskr</h1>
<ul>
{% if g.user %}
<li><span>{{ g.user['username'] }}</span>
<li><a href="{{ url_for('auth.logout') }}">Log Out</a>
<li><span>{{ g.user['username'] }}</span></li>
<li><a href="{{ url_for('auth.logout') }}">Log Out</a></li>
{% else %}
<li><a href="{{ url_for('auth.register') }}">Register</a>
<li><a href="{{ url_for('auth.login') }}">Log In</a>
<li><a href="{{ url_for('auth.register') }}">Register</a></li>
<li><a href="{{ url_for('auth.login') }}">Log In</a></li>
{% endif %}
</ul>
</nav>
Expand Down

0 comments on commit 66d3774

Please sign in to comment.