We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c248bf commit 9ba9321Copy full SHA for 9ba9321
app/authentification/templatetags/utils_templating.py
@@ -7,5 +7,5 @@
7
def addcss(value, arg):
8
css_classes = value.field.widget.attrs.get('class', '').split(' ')
9
if css_classes and arg not in css_classes:
10
- css_classes = '%s %s' % (css_classes, arg)
+ css_classes = '%s %s' % (*css_classes, arg)
11
return value.as_widget(attrs={'class': css_classes})
0 commit comments