pattern_preview.html
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<div class="entry-article scheme{{ pattern.type.lexical_class.color_scheme }}">
<h1>
{{ pattern.name }}
</h1>
<p>{{ pattern.type.lexical_class.full_name }}</p>
<p>Typ: {{ pattern.type.symbol }}</p>
<p>Liczba leksemów: {{ lexeme_count }}</p>
{% if detailed_counts %}
<table class="detailed-counts">
<tr>
{% for subgroup_label, count in detailed_counts %}
<th>{{ subgroup_label }}</th>
{% endfor %}
</tr>
<tr>
{% for subgroup_label, count in detailed_counts %}
<td>{{ count }}</td>
{% endfor %}
</tr>
</table>
{% endif %}
<p class="separator"></p>
<div class="inflection-tables">
<div class="inflection-table-container">
<table class="inflection-table">
<tr>
<td class="header-c"><strong>Etykieta</strong></td>
<td class="header=c"><strong>Forma bazowa</strong></td>
</tr>
{% for ending in pattern.endings.all %}
<tr>
<td class="header">{{ ending.base_form_label.symbol }}</td>
<td>{{ pattern.example }}·{{ ending.string }}</td>
</tr>
{% endfor %}
</table>
</div>
</div>
</div>