diff options
author | Cefin <kevon@tuta.io> | 2021-11-02 17:21:25 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-16 17:04:41 +0100 |
commit | 6d2002a1276f241db74678610f5a5b4836710bdd (patch) | |
tree | 4439591983fca6d993045a697331a6adc3beb5a4 /archaeological_operations | |
parent | d6e2ffe6d0db2a8250c925df621fa9b8fa4a7c6a (diff) | |
download | Ishtar-6d2002a1276f241db74678610f5a5b4836710bdd.tar.bz2 Ishtar-6d2002a1276f241db74678610f5a5b4836710bdd.zip |
add collaborators on bulk update on EA search #5176
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/forms.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 6dbb0d2bf..a7d19c7ff 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -2021,10 +2021,17 @@ class QAArchaeologicalSiteFormMulti(QAForm): form_slug = "archaeological_site-quickaction-modify" associated_models = { 'qa_towns': Town, + 'qa_collaborators': Person, } MULTI = True qa_towns = get_town_field(required=False) + qa_collaborators = forms.IntegerField( + label=_("Collaborators"), required=False, + widget=widgets.JQueryAutoComplete( + reverse_lazy('autocomplete-person') + ), + ) def _get_qa_towns(self, value): try: |