fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #3307: place for infograhics miniature.
[edumed.git]
/
wtem
/
admin.py
diff --git
a/wtem/admin.py
b/wtem/admin.py
index
b4b39fb
..
d4b6682
100644
(file)
--- 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'
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:
class SubmissionFormBase(forms.ModelForm):
class Meta: