18 lines
395 B
HTML
18 lines
395 B
HTML
|
{% macro definition_table(source) %}
|
||
|
<table>
|
||
|
<tbody>
|
||
|
{% for entry in source -%}
|
||
|
<tr>
|
||
|
<td><code>{{ entry.dt | safe }}</code></td>
|
||
|
<td>{{ entry.dd | safe }}</td>
|
||
|
</tr>
|
||
|
{% if entry.definitions -%}
|
||
|
<tr>
|
||
|
<td colspan="2" class="sub-definition">{{ self::definition_table(source=entry.definitions) }}</td>
|
||
|
</tr>
|
||
|
{%- endif %}
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
{% endmacro %}
|