Zrušena tabulka s hodnoceními
Už je tam formset
This commit is contained in:
parent
98202902d3
commit
4a930542b8
1 changed files with 0 additions and 15 deletions
|
@ -80,22 +80,7 @@ $(document).ready(function(){
|
|||
{% endif %}
|
||||
|
||||
{# Hodnocení: #}
|
||||
{# FIXME: Udělat jako formulář #}
|
||||
<h3>Hodnocení:</h3>
|
||||
{% if object.hodnoceni_set.all %}
|
||||
<table>
|
||||
<tr><th>Problém</th><th>Body</th><th>Číslo pro body</th></tr>
|
||||
{% for h in object.hodnoceni_set.all %}
|
||||
<tr>
|
||||
<td>{{ h.problem }}</a></td>
|
||||
<td>{{ h.body }}</td>
|
||||
<td>{{ h.cislo_body }}</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% else %}
|
||||
<p>Ještě nebylo hodnoceno</p>
|
||||
{% endif %}
|
||||
|
||||
<form method=post><table>
|
||||
{% csrf_token %}
|
||||
{{ form.management_form }}
|
||||
|
|
Loading…
Reference in a new issue