|
1
|
<table class="inflection-table">
|
|
2
3
4
5
6
7
8
9
|
{% if tables and tables|length > 1 %}
<caption>
{{ inflection_characteristic.symbol }}: {{ patterns|join:" / " }}
</caption>
{% endif %}
{% for row in table %}
<tr>
{% for cell in row %}
|
|
10
11
12
|
{% if cell.type != "span" %}
{% if cell.type == "empty" %}
<td class="empty"></td>
|
|
13
|
{% else %}
|
|
14
|
{% if cell.type == "forms" %}
|
|
15
|
<td rowspan="{{ cell.rowspan }}"
|
|
16
17
|
colspan="{{ cell.colspan }}"
{% if cell.colspan > 1 %}class="data-c"{% endif %}>
|
|
18
|
<ul class="form-list">
|
|
19
20
|
{% for entry in cell.forms %}
<li>
|
|
21
|
{{ entry.form|safe }}
|
|
22
23
24
25
26
|
<span class="qualifiers">
{% for q in entry.qualifiers %}
{{ q.label }}
{% endfor %}
</span>
|
|
27
28
29
30
31
32
33
|
</li>
{% endfor %}
</ul>
</td>
{% else %}
<td rowspan="{{ cell.rowspan }}"
colspan="{{ cell.colspan }}"
|
|
34
35
36
|
{% if cell.colspan > 1 and cell.css_class == 'data' %}
class="data-c"
{% else %}class="{{ cell.css_class }}"{% endif %}>
|
|
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<ul class="form-list">
{% for label in cell.label %}
<li>
{{ label|safe }}
</li>
{% endfor %}
</ul>
</td>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</tr>
|
|
50
|
{% endfor %}
|
|
51
|
</table>
|