<div>y kolem jednotlivých hlasování
This commit is contained in:
parent
dcba5b6b30
commit
a8e9f03cc1
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
<p>Obtížnost 1 je nejlehčí, 3 nejtěžší.</p>
|
||||
{{ form_set_prednasky.management_form }}
|
||||
{% for f, p in formy_a_prednasky %}
|
||||
<div class="hlasovani-prednaska">
|
||||
<h4>{{p.nazev}} ({{p.org}})</h4>
|
||||
<p class="textprednasky">{{p.anotace | linebreaksbr}}</p>
|
||||
<label>Obor: </label> {{p.obor}}<br>
|
||||
|
@ -22,17 +23,20 @@
|
|||
<br>
|
||||
{{ f }}
|
||||
<br>
|
||||
</div>
|
||||
{% empty %}
|
||||
Nejsou žádné přednášky o kterých by šlo hlasovat.
|
||||
{% endfor %}
|
||||
|
||||
{{ form_set_znalosti.management_form }}
|
||||
{% for f, z in formy_a_znalosti %}
|
||||
<div class="hlasovani-znalost">
|
||||
{% if forloop.first %}<hr/><h3>Jak moc znáš následující?</h3>{% endif %}
|
||||
<h4>{{z.nazev}}</h4>
|
||||
<p class="textznalosti">{{z.text | linebreaksbr}}</p>
|
||||
{{ f }}
|
||||
<br>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<input type="submit" value="Odeslat"/>
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue