From 715a37d226903a6205aaf23f2d85cd9e403820d7 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Fri, 13 Dec 2024 23:00:07 -0300 Subject: [PATCH] refactor: replace error message with sweet alert 2 --- .../scripts/hyperscript/htmx_error_handler.html | 15 +++++++++++---- app/templates/layouts/base.html | 7 ------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/templates/includes/scripts/hyperscript/htmx_error_handler.html b/app/templates/includes/scripts/hyperscript/htmx_error_handler.html index b9606dc..9bff690 100644 --- a/app/templates/includes/scripts/hyperscript/htmx_error_handler.html +++ b/app/templates/includes/scripts/hyperscript/htmx_error_handler.html @@ -1,8 +1,15 @@ +{% load i18n %} diff --git a/app/templates/layouts/base.html b/app/templates/layouts/base.html index 45c20aa..c2538da 100644 --- a/app/templates/layouts/base.html +++ b/app/templates/layouts/base.html @@ -27,13 +27,6 @@ {% block body_hyperscript %}{% endblock %}"> {% include 'includes/navbar.html' %} -
- -
-
{% block content %}{% endblock %}