From 3891c37c116a8e255a4ec850831b9997cfef01a7 Mon Sep 17 00:00:00 2001 From: Christian Wiegand Date: Mon, 22 Mar 2021 15:52:23 +0100 Subject: [PATCH] Fix typo in components.py (#27) Added missing "s" in "success" alert type --- src/django_bootstrap5/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/django_bootstrap5/components.py b/src/django_bootstrap5/components.py index 6939056e..38af411e 100644 --- a/src/django_bootstrap5/components.py +++ b/src/django_bootstrap5/components.py @@ -5,7 +5,7 @@ from .css import merge_css_classes from .html import render_tag -ALERT_TYPES = ["primary", "secondary", "succes", "danger", "warning", "info", "light", "dark"] +ALERT_TYPES = ["primary", "secondary", "success", "danger", "warning", "info", "light", "dark"] def render_alert(content, alert_type="info", dismissible=True, extra_classes=""):