Skip to content

Commit

Permalink
Fix typo in components.py (#27)
Browse files Browse the repository at this point in the history
Added missing "s" in "success" alert type
  • Loading branch information
christianwgd committed Mar 22, 2021
1 parent 8fbaeef commit 3891c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/django_bootstrap5/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=""):
Expand Down

0 comments on commit 3891c37

Please sign in to comment.