remove flash messages

This commit is contained in:
2025-05-27 14:53:45 +02:00
parent 160794404e
commit 95407cc3d7
2 changed files with 0 additions and 23 deletions

View File

@@ -5,16 +5,6 @@
{% block content %}
<div class="container mx-auto px-4 py-6">
<div class="max-w-3xl mx-auto">
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="mb-3 p-3 rounded-lg {% if category == 'error' %}bg-red-100 text-red-700{% else %}bg-green-100 text-green-700{% endif %}">
{{ message }}
</div>
{% endfor %}
{% endif %}
{% endwith %}
<form method="POST" enctype="multipart/form-data" class="bg-white rounded-lg shadow overflow-hidden">
<!-- Profile Picture Section -->
<div class="p-4 border-b border-gray-200">