Skip to content

Commit

Permalink
Update base.html with closing </li>
Browse files Browse the repository at this point in the history
  • Loading branch information
gatoniel committed May 11, 2024
1 parent 66d3774 commit cb10930
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/tutorial/flaskr/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<h1><a href="{{ url_for('index') }}">Flaskr</a></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 cb10930

Please sign in to comment.