pattern_preview.html
763 Bytes
<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>
<p class="separator"></p>
<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>