X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/aee3eef6e1f1c4805da7d8b85799e6b9104b3216..a4f8f58bd91fc433949001ab8670bb1e1665c5bd:/wtem/admin.py?ds=inline

diff --git a/wtem/admin.py b/wtem/admin.py
index b4b39fb..d4b6682 100644
--- a/wtem/admin.py
+++ b/wtem/admin.py
@@ -32,7 +32,7 @@ class AttachmentWidget(forms.Widget):
             a_tag = '<a href="%s">%s</a>' % (value, value)
         else:
             a_tag = 'brak'
-        return mark_safe(('<input type="hidden" name="%s" value="%s"/>' + a_tag) % (name, value))
+        return mark_safe(('<input type="hidden" name="%s" value="%s"/>' % (name, value)) + a_tag)
 
 class SubmissionFormBase(forms.ModelForm):
     class Meta: