blob: 24bacc17accbc8a6da5d839d4381bd3905ea8cad (
plain)
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
|
<table class="list attributes">
<tbody>
<tr>
<th>Attribute</th>
<th>Value</th>
</tr>
{% for name, value in attributes.text %}
<tr>
<td>{{ name }}</td>
<td>{{ value }}</td>
</tr>
{% endfor %}
{% for name, links in attributes.link %}
<tr>
<td>{{ name }}</td>
<td>
{% if links %}
{% for link in links %}
<a class="button small" href="{{ link.href }}">{{ link.name }}</a>
{% endfor %}
{% else %}
None
{% endif %}
</td>
</tr>
{% endfor %}
{% for name, code in attributes.code %}
<tr>
<td>{{ name }}</td>
<td>{% include "snippet_code.html" %}</td>
</tr>
{% endfor %}
</tbody>
</table>
|