Skip to content

Commit

Permalink
Slightly nicer /edit-tables/dbname page, closes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Oct 1, 2020
1 parent ef56507 commit 6e7c85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasette_edit_tables/templates/edit_tables_database.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1>Edit tables in {{ database.name }}.db</h1>

{% for table in tables %}
<h2><a href="/-/edit-tables/{{ database.name|quote_plus }}/{{ table.name|quote_plus }}">{{ table.name }}</a></h2>
<p>{{ table.columns }}</p>
<p>{% for column in table.columns %}{{ column.name }}{% if not loop.last %}, {% endif %}{% endfor %}</p>
{% endfor %}

{% endblock %}

0 comments on commit 6e7c85a

Please sign in to comment.