|
|
@ -1,4 +1,5 @@ |
|
|
|
{% extends "base.html" %} |
|
|
|
{% load static %} |
|
|
|
|
|
|
|
{% block content %} |
|
|
|
|
|
|
@ -91,21 +92,21 @@ $(document).ready(function(){ |
|
|
|
<td>{{ subform.problem }}</td> |
|
|
|
<td>{{ subform.body }}</td> |
|
|
|
<td>{{ subform.cislo_body }}</td> |
|
|
|
<td><input type=button class="smazat_hodnoceni" value="Smazat" id="id_{{subform.prefix}}-jsremove"></td> |
|
|
|
<td><a href="#" class="smazat_hodnoceni" id="id_{{subform.prefix}}-jsremove"><img src="{% static "seminar/cross.png" %}" alt="Smazat"></a></td> |
|
|
|
</tr> |
|
|
|
{% endfor %} |
|
|
|
</table> |
|
|
|
|
|
|
|
|
|
|
|
<input type=button id="pridat_hodnoceni" value="Přidat hodnocení"> |
|
|
|
<input type=submit></form> |
|
|
|
<a href="#"> <img src="{% static "seminar/plus.png" %}" id="pridat_hodnoceni" alt="Přidat hodnocení"></a> </br> |
|
|
|
<input type=submit value="Uložit"></form> |
|
|
|
|
|
|
|
<table id="empty_form" style="display: none;"> |
|
|
|
<tr class="hodnoceni"> |
|
|
|
<td>{{ form.empty_form.problem }}</td> |
|
|
|
<td>{{ form.empty_form.body }}</td> |
|
|
|
<td>{{ form.empty_form.cislo_body }}</td> |
|
|
|
<td><input type=button class="smazat_hodnoceni" value="Smazat" id="id_{{form.empty_form.prefix}}-jsremove"></td> |
|
|
|
<td><a href="#" class="smazat_hodnoceni" id="id_{{subform.prefix}}-jsremove"><img src="{% static "seminar/cross.png" %}" alt="Smazat"></a></td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
|
|
|
|