<th> now gets class="col-X" - plus added col-X documentation

Refs #209
This commit is contained in:
Simon Willison 2018-04-17 19:11:11 -07:00
commit a5792a8c61
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
4 changed files with 25 additions and 7 deletions

View file

@ -2,7 +2,7 @@
<thead>
<tr>
{% for column in display_columns %}
<th scope="col">
<th class="col-{{ column.name|to_css_class }}" scope="col">
{% if not column.sortable %}
{{ column.name }}
{% else %}