Skip to content

Commit 9ba9321

Browse files
author
Guillim
committed
small typo about the filter:
before it was printing a class "[] input" instead of "input"
1 parent 6c248bf commit 9ba9321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/authentification/templatetags/utils_templating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
def addcss(value, arg):
88
css_classes = value.field.widget.attrs.get('class', '').split(' ')
99
if css_classes and arg not in css_classes:
10-
css_classes = '%s %s' % (css_classes, arg)
10+
css_classes = '%s %s' % (*css_classes, arg)
1111
return value.as_widget(attrs={'class': css_classes})

0 commit comments

Comments
 (0)