mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Unit test for _table custom template, refs #521
This commit is contained in:
parent
55637ef994
commit
986919aa03
3 changed files with 18 additions and 0 deletions
3
tests/test_templates/_table.html
Normal file
3
tests/test_templates/_table.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{% for row in display_rows %}
|
||||
<div class="custom-table-row">{{ row["f1"] }} - {{ row["f2"] }} - {{ row.display("f3") }}</div>
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue