diff --git a/src/agenda_culturel/forms.py b/src/agenda_culturel/forms.py index dcfc505..a38498e 100644 --- a/src/agenda_culturel/forms.py +++ b/src/agenda_culturel/forms.py @@ -285,7 +285,7 @@ class EventForm(GroupFormMixin, ModelForm): "Create new labels (sparingly). Note: by starting your tag with the characters “TW:”, you" "ll create a “trigger warning” tag, and the associated events will be announced as such." ), - widget=DynamicArrayWidget(), + widget=DynamicArrayWidgetTags(), required=False, ) @@ -489,7 +489,7 @@ class EventModerateForm(ModelForm): "Create new labels (sparingly). Note: by starting your tag with the characters “TW:”, you" "ll create a “trigger warning” tag, and the associated events will be announced as such." ), - widget=DynamicArrayWidget(), + widget=DynamicArrayWidgetTags(), required=False, ) diff --git a/src/agenda_culturel/templates/agenda_culturel/widgets/widget-tags.html b/src/agenda_culturel/templates/agenda_culturel/widgets/widget-tags.html index 2567a33..d5bc510 100644 --- a/src/agenda_culturel/templates/agenda_culturel/widgets/widget-tags.html +++ b/src/agenda_culturel/templates/agenda_culturel/widgets/widget-tags.html @@ -1,16 +1,18 @@ {% load static %} {% load i18n %} +{% load utils_extra %} {% spaceless %}