Úpravy templatů
This commit is contained in:
parent
5e7f6c81bc
commit
e6d4bfe0f5
2 changed files with 10 additions and 10 deletions
|
@ -13,7 +13,7 @@
|
|||
<ul>
|
||||
<li> Kdy: pátek 22. – neděle 24. 9. 2023 </li>
|
||||
<li> Kde: <a href="https://borovice.cz/inzerat/2587-zakladna-pratel-prirody-upirci-2">Klubovna Upírků v Libčicích n.V.</a></li>
|
||||
<li> Kdo jede: Káťa, (R)adim{% for ucastnik in ucastnici %}, {{ ucastnik.prezdivka }}{% endfor %}</li>
|
||||
<li> Kdo jede: {% for ucastnik in ucastnici %}{% if not forloop.first %}, {% endif %}{{ ucastnik.prezdivka }}{% endfor %}</li>
|
||||
</ul>
|
||||
|
||||
<h2>Přihlašovací formulář</h2>
|
||||
|
@ -22,6 +22,7 @@
|
|||
|
||||
<form action="{% url 'vyrocni_sraz' %}" method="post">
|
||||
<table class="form">
|
||||
{{form.non_field_errors}}
|
||||
{% for field in form %}
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -48,7 +49,6 @@
|
|||
</table>
|
||||
|
||||
{% csrf_token %}
|
||||
{{form.non_field_errors}}
|
||||
|
||||
<input type="submit" value="Přihlásit se!">
|
||||
</form>
|
||||
|
|
|
@ -15,15 +15,15 @@
|
|||
<th>Něco dodat?</th>
|
||||
</tr>
|
||||
|
||||
{% for obj in ucastnikvyroci_list %}
|
||||
{% for u in object_list %}
|
||||
<tr>
|
||||
<td>{{ obj.jmeno }}</td>
|
||||
<td>{{ obj.prezdivka }}</td>
|
||||
<td>{{ obj.email }}</td>
|
||||
<td style="word-break: break-all">{{ obj.kdy }}</td>
|
||||
<td style="word-break: break-all">{{ obj.cojemam }}</td>
|
||||
<td style="word-break: break-all">{{ obj.cislo }}</td>
|
||||
<td style="word-break: break-all">{{ obj.dodat }}</td>
|
||||
<td>{{ u.jmeno }}</td>
|
||||
<td>{{ u.prezdivka }}</td>
|
||||
<td>{{ u.email }}</td>
|
||||
<td style="word-break: break-all">{{ u.kdy }}</td>
|
||||
<td style="word-break: break-all">{{ u.cojemam }}</td>
|
||||
<td style="word-break: break-all">{{ u.cislo }}</td>
|
||||
<td style="word-break: break-all">{{ u.dodat }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue