Added class=rows-and-columns to custom query results table

This commit is contained in:
Simon Willison 2018-04-25 20:24:22 -07:00
commit db7a57a9a6
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52

View file

@ -41,7 +41,7 @@
{% if rows %}
<p>This data as <a href="{{ url_json }}">.json</a></p>
<table>
<table class="rows-and-columns">
<thead>
<tr>
{% for column in columns %}<th class="col-{{ column|to_css_class }}" scope="col">{{ column }}</th>{% endfor %}