show_realizations.html
844 Bytes
{% if error_message %}
<strong>{{error_message}}</strong>
{% else %}
{% if realizations %}
<table class='ArgRealizationsTable' id='arg-realizations-table'>
<tr>
<td class='ColumnHeader' colspan='2'>Rozwinięcia typu frazy {{main_arg_text_rep}}:</td>
</tr>
{% for realization in realizations %}
<tr class='RealizationTableRow' id="realization_{{realization.id}}" type="{{ realization.type.sym_name }}">
<td>{{ realization }}</td>
<td>{{ realization.opinion.value }}</td>
</tr>
{% endfor %}
</table>
{% if manage and perms.dictionary.create_realization %}
<button type="button" id="delete-realization" style="width:140px">Usuń</button>
{% endif %}
{% else %}
<strong>Typ frazy nie posiada zdefiniowanych rozwinięć.</strong>
{% endif %}
{% endif %}