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