Added '- pick a column -' as first option

This commit is contained in:
Simon Willison 2017-11-22 20:39:53 -08:00
commit 82c20ea36e
No known key found for this signature in database
GPG key ID: FBB38AFE227189DB
2 changed files with 12 additions and 11 deletions

View file

@ -49,6 +49,7 @@
{% endfor %}
<p>
<select name="_filter_column" style="font-size: 20px">
<option value="">- pick a column -</option>
{% for column in display_columns %}
{% if column != 'rowid' %}
<option>{{ column }}</option>