1 {% load rest_filters %}
4 {% if "checkbox" in options %}<th><input type="checkbox" name="{{ id }}" /></th>{% endif %}
5 {% for f in fields %}<th>{{ f }}</th>{% endfor %}
10 <tr data-key="{{ d|key:id }}">
11 {% if "checkbox" in options %}<td><input type="checkbox" name="{{ id }}" value="{{ d|key:id }}" /></td>{% endif %}
12 {% for f in fields %}<td><div class="line1">{{ d|key:f }}</div></td>{% endfor %}