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 | 7caece3c40f6e61c6609e85ded60698568848746 (patch) | |
tree | 5439929272c54cf22b99219af45a530d8a9cc8c6 /archaeological_context_records | |
parent | 8040960dc121751f7038c3082e3d2fcae828398b (diff) | |
download | Ishtar-7caece3c40f6e61c6609e85ded60698568848746.tar.bz2 Ishtar-7caece3c40f6e61c6609e85ded60698568848746.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': |