Commit e5391246 authored by stef's avatar stef
Browse files

[fix] attachments should now work

parent 0064a799
......@@ -12,6 +12,7 @@ from django.forms.fields import Field, EMPTY_VALUES
from django.core.files.uploadedfile import UploadedFile
from django.forms.widgets import FileInput
from django.forms.util import ErrorList, ValidationError, flatatt
from django.utils.safestring import mark_safe
class MultiFileInput(FileInput):
......@@ -45,7 +46,7 @@ class MultiFileInput(FileInput):
link =, value, count, final_attrs)
fields = self.fields(name, value, count, final_attrs)
return js+link+fields
return mark_safe(js+link+fields)
def fields(self, name, value, count, attrs=None):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment