|
1
2
3
4
|
<div class="scheme{{ color_scheme }}">
<table class="inflection-table">
{% if tables and tables|length > 1 %}
<caption>
|
|
5
|
{{ gender.symbol }}:
|
|
6
7
8
|
{% if pronunciations %}
<span class="lip-pronunciation">[{{ pronunciations|join:"/"|safe }}]{% if gender_qualifiers %};{% endif %}</span>
{% endif %}
|
|
9
|
<span class="qualifiers">{{ gender_qualifiers|join:" " }}</span>
|
|
10
|
{% include "pattern_list.html" %}
|
|
11
12
13
14
15
16
17
18
|
</caption>
{% endif %}
{% for row in table %}
<tr>
{% for cell in row %}
{% if cell.type != "span" %}
{% if cell.type == "empty" %}
<td class="empty"></td>
|
|
19
|
{% else %}
|
|
20
21
22
23
24
25
26
|
{% if cell.type == "forms" %}
<td rowspan="{{ cell.rowspan }}"
colspan="{{ cell.colspan }}"
{% if cell.colspan > 1 %}class="data-c"{% endif %}>
<ul class="form-list">
{% for entry in cell.forms %}
<li>
|
|
27
|
<span class="form {% for p in entry.patterns %}p{{ p.id }} {% endfor %}">
|
|
28
29
|
{{ entry.form|safe }}
</span>
|
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<span class="qualifiers">
{% for q in entry.qualifiers %}
{{ q.label }}
{% endfor %}
</span>
</li>
{% endfor %}
</ul>
</td>
{% else %}
<td rowspan="{{ cell.rowspan }}"
colspan="{{ cell.colspan }}"
{% if cell.colspan > 1 and cell.css_class == 'data' %}
class="data-c"
{% else %}class="{{ cell.css_class }}"{% endif %}>
<ul class="form-list">
{% for label in cell.label %}
<li>
|
|
48
|
<span class="header-label">{{ label|safe }}</span>
|
|
49
50
51
52
53
|
</li>
{% endfor %}
</ul>
</td>
{% endif %}
|
|
54
55
|
{% endif %}
{% endif %}
|
|
56
57
58
59
60
|
{% endfor %}
</tr>
{% endfor %}
</table>
</div>
|