diff options
author | Cefin <kevon@tuta.io> | 2021-11-02 17:21:25 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | 5894588fb972a7b3a81bc427f6490677c0c0ba94 (patch) | |
tree | 863f43c37c29beae1e38c60cc316a715e253067c /archaeological_operations/forms.py | |
parent | 240b6419969de6263102db25b0557a1f906d6f23 (diff) | |
download | Ishtar-5894588fb972a7b3a81bc427f6490677c0c0ba94.tar.bz2 Ishtar-5894588fb972a7b3a81bc427f6490677c0c0ba94.zip |
add collaborators on bulk update on EA search #5176
Diffstat (limited to 'archaeological_operations/forms.py')
-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 68b87698f..3cb01f595 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: |