diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-27 12:52:19 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-27 12:52:19 +0200 |
commit | 4690678da7f93dbab70b7736e3f87ec559e3e909 (patch) | |
tree | 5439929272c54cf22b99219af45a530d8a9cc8c6 /archaeological_context_records | |
parent | fff82488942f2653ba87816b52597fc9e7d57734 (diff) | |
download | Ishtar-4690678da7f93dbab70b7736e3f87ec559e3e909.tar.bz2 Ishtar-4690678da7f93dbab70b7736e3f87ec559e3e909.zip |
Search input: add a clear field button
Diffstat (limited to 'archaeological_context_records')
-rw-r--r-- | archaeological_context_records/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 6e7c3602e..481ec3353 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -61,7 +61,8 @@ class OperationFormSelection(CustomForm, forms.Form): class RecordSelect(TableSelect): - search_vector = forms.CharField(label=_(u"Full text search")) + search_vector = forms.CharField(label=_(u"Full text search"), + widget=widgets.SearchWidget) label = forms.CharField(label=_(u"ID"), max_length=100) parcel__town = get_town_field() if settings.COUNTRY == 'fr': |