diff --git a/core/views/forms.py b/core/views/forms.py index 18081e01..955d3320 100644 --- a/core/views/forms.py +++ b/core/views/forms.py @@ -118,14 +118,11 @@ class SelectFile(TextInput): attrs["class"] = "select_file" else: attrs = {"class": "select_file"} - output = ( - '%(content)s
' - % { - "content": super(SelectFile, self).render(name, value, attrs, renderer), - "title": _("Choose file"), - "name": name, - } - ) + output = '%(content)s
' % { + "content": super(SelectFile, self).render(name, value, attrs, renderer), + "title": _("Choose file"), + "name": name, + } output += ( '' - % { - "content": super(SelectUser, self).render(name, value, attrs, renderer), - "title": _("Choose user"), - "name": name, - } - ) + output = '%(content)s
' % { + "content": super(SelectUser, self).render(name, value, attrs, renderer), + "title": _("Choose user"), + "name": name, + } output += ( '