mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Refactored filter logic and added human descriptions - refs #86
This commit is contained in:
parent
523c6f9e3a
commit
b4e6211a97
4 changed files with 108 additions and 50 deletions
|
|
@ -21,6 +21,8 @@
|
|||
<h2>{{ "{:,}".format(table_rows) }} total row{% if table_rows == 1 %}{% else %}s{% endif %} in this table</h2>
|
||||
{% endif %}
|
||||
|
||||
<p>{{ human_filter_description }}</p>
|
||||
|
||||
{% if supports_search %}
|
||||
<form action="/{{ database }}-{{ database_hash }}/{{ table|quote_plus }}" method="get">
|
||||
<p><input type="search" name="_search" value="{{ search }}"> <input type="submit" value="Search"></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue