Works for now
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- templates/base.html (updated) -->
|
||||
<!-- templates/base.html (final version - completely fixed) -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@@ -391,7 +391,7 @@
|
||||
<div class="user-section">
|
||||
<div class="user-info">
|
||||
<h3>{{ session.username }}</h3>
|
||||
<p>Member since {{ user.created_at.strftime('%b %Y') if 'user' in locals() and user else '' }}</p>
|
||||
<p>Member since {{ user.created_at.strftime('%b %Y') if user and user.created_at else '' }}</p>
|
||||
</div>
|
||||
<a href="{{ url_for('logout') }}" class="btn btn-outline-light">Logout</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user