From 512cec6a3c03cea407a39f68ca8e5bb68c12518e Mon Sep 17 00:00:00 2001 From: Gabriel De Los Rios Date: Fri, 29 Nov 2024 22:15:46 -0300 Subject: [PATCH] refactor: standalone message block for better customization --- app/templates/layout/inner_header.html | 1 - app/templates/message.html | 2 +- app/templates/users/login.html | 3 +++ app/templates/users/register.html | 5 ++++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/templates/layout/inner_header.html b/app/templates/layout/inner_header.html index c480516..eff167e 100644 --- a/app/templates/layout/inner_header.html +++ b/app/templates/layout/inner_header.html @@ -1,6 +1,5 @@ {% macro inner_header(title) %}
- {% include 'message.html' %}
diff --git a/app/templates/message.html b/app/templates/message.html index 8d45639..6f3a8b6 100644 --- a/app/templates/message.html +++ b/app/templates/message.html @@ -1,6 +1,6 @@ {% with messages = get_flashed_messages() %} {% if messages %} -