mirror of
https://github.com/rmontanana/microblog.git
synced 2025-08-19 01:05:52 +00:00
Chapter 5
This commit is contained in:
@@ -10,7 +10,11 @@
|
||||
<div>
|
||||
Microblog:
|
||||
<a href="{{ url_for('index') }}">Home</a>
|
||||
<a href="{{ url_for('login') }}">Login</a>
|
||||
{% if current_user.is_anonymous %}
|
||||
<a href="{{ url_for('login') }}">Login</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('logout') }}">Logout</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<hr />
|
||||
{% with messages = get_flashed_messages() %}
|
||||
|
Reference in New Issue
Block a user