|
|
@ -16,6 +16,10 @@ |
|
|
|
{% csrf_token %} |
|
|
|
{{ form }} |
|
|
|
{{ prilohy.management_form }} |
|
|
|
|
|
|
|
|
|
|
|
<h4>Přilohy s řešením</h4> |
|
|
|
|
|
|
|
<div id="form_set"> |
|
|
|
{% for form in prilohy.forms %} |
|
|
|
<div class="attachment"> |
|
|
@ -24,20 +28,24 @@ |
|
|
|
<table class='no_error'> |
|
|
|
{{ form }} |
|
|
|
</table> |
|
|
|
<input type="button" value="Odebrat" class="remove_attachment" id="{{form.prefix}}-jsremove"> |
|
|
|
<input type="button" value="Odebrat přílohu" class="remove_attachment" id="{{form.prefix}}-jsremove"> |
|
|
|
</div> |
|
|
|
{% endfor %} |
|
|
|
</div> |
|
|
|
|
|
|
|
<input type="button" value="Přidat přílohu" id="add_attachment"> |
|
|
|
|
|
|
|
<div id="empty_form" style="display:none"> |
|
|
|
<div class="attachment"> |
|
|
|
<table class='no_error'> |
|
|
|
{{ prilohy.empty_form }} |
|
|
|
</table> |
|
|
|
<input type="button" value="Odebrat" class="remove_attachment" id="id_prilohy-__prefix__-jsremove"> |
|
|
|
<input type="button" value="Odebrat přílohu" class="remove_attachment" id="id_prilohy-__prefix__-jsremove"> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<hr> |
|
|
|
<h4>Odevzdat má řešení</h4> |
|
|
|
<input type="submit" value="Odevzdat"> |
|
|
|
</form> |
|
|
|
|
|
|
|