From 9a9794c1cfd981cc02d4df57dde03eeffc28f1f4 Mon Sep 17 00:00:00 2001 From: prakash-gds Date: Wed, 20 Mar 2024 14:55:05 +0000 Subject: [PATCH] Remove the text "Warning" from warning The gov uk design system doesn't show the text "Warning" in the Warning text, just the warning text icon and the actual text. This change makes the text "Warning" hidden to make it consistent with govuk design system --- src/crispy_forms_gds/layout/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crispy_forms_gds/layout/content.py b/src/crispy_forms_gds/layout/content.py index 2bd52ad..0e2226e 100644 --- a/src/crispy_forms_gds/layout/content.py +++ b/src/crispy_forms_gds/layout/content.py @@ -298,7 +298,7 @@ def warning(cls, content):
- Warning +