mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Refactored table column/row display logic
Simplified the template and made the way for upcoming foreign key work. Refs #85 Also fixed bug on database page - closes #113
This commit is contained in:
parent
084350b0f1
commit
e16ca1169c
3 changed files with 49 additions and 17 deletions
|
|
@ -59,7 +59,7 @@
|
|||
{% for row in rows %}
|
||||
<tr>
|
||||
{% for td in row %}
|
||||
<td>{{ td or " " }}</td>
|
||||
<td>{{ td or " "|safe }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue