fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing questions
[edumed.git]
/
wtem
/
templates
/
wtem
/
exercises
/
file_upload.html
diff --git
a/wtem/templates/wtem/exercises/file_upload.html
b/wtem/templates/wtem/exercises/file_upload.html
index
e3add7b
..
eadcdfd
100644
(file)
--- a/
wtem/templates/wtem/exercises/file_upload.html
+++ b/
wtem/templates/wtem/exercises/file_upload.html
@@
-10,16
+10,19
@@
{% endfor %}
</div>
{% endfor %}
</div>
+ {% if exercise.max_file_size_string %}
+ <p style="font-weight: bold;">Plik nie powinien być większy niż {{exercise.max_file_size_string}}.</p>
+ {% endif %}
<div style="margin: 15px auto; width:300px;">
<div style="margin: 15px auto; width:300px;">
- <input style="float: left;" type="file" name="attachment_
{{exercise.name
}}"/>
+ <input style="float: left;" type="file" name="attachment_
for_{{exercise.id
}}"/>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
</div>
- <cite>
+ {% autoescape off %}
{% for para in exercise.description_after %}
<p>{{para}}</p>
{% endfor %}
{% for para in exercise.description_after %}
<p>{{para}}</p>
{% endfor %}
- </cite>
+ {% endautoescape %}
</div>
\ No newline at end of file
</div>
\ No newline at end of file