This commit is contained in:
Victor Alexandrovich Tsyrenschikov
2025-09-15 23:54:59 +05:00
parent 41f6699da9
commit 42ed1b04cb
69 changed files with 5614 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{% load get_attribute %}
<div class="dt-responsive table-responsive">
<table class="table">
<thead>
<tr>
{% for field in db_field_names %}
<th id="th_{{ field }}_export" scope="col">{{ field }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for item in items %}
<tr>
{% for field_name in db_field_names %}
<td class="td_{{ field_name }}">{{ item|getattribute:field_name }}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
</div>