diff options
author | Cefin <kevon@tuta.io> | 2021-12-09 13:04:39 +0000 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | c0cee79abacdce61f3eba67873efc11ea9d29aec (patch) | |
tree | e445c7174ac8262e785fa9ef9bba20eab237e7cd /archaeological_finds/forms.py | |
parent | 4bc0bdd1865f9e7fb91795b4e605ca3d6f52e59e (diff) | |
download | Ishtar-c0cee79abacdce61f3eba67873efc11ea9d29aec.tar.bz2 Ishtar-c0cee79abacdce61f3eba67873efc11ea9d29aec.zip |
deleting slug instead of denomination field and authorize multi for basket bulk update #5225
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r-- | archaeological_finds/forms.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index af5039067..7b13eb34b 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -1111,9 +1111,13 @@ class QAFindbasketDuplicateForm(IshtarForm): class QAFindBasketModify(QAForm): form_admin_name = _("Find - Quick action - Modify") form_slug = "findbasket-quickaction-modify" - MULTI = False + MULTI = True - qa_slug = forms.SlugField(label=_("Slug"), required=False) + qa_label = forms.CharField( + label="Denomination", + validators=[validators.MaxLengthValidator(1000)], + required=False + ) qa_public = forms.BooleanField(label=_("Is public"), required=False) qa_comment = forms.CharField(label=_("Comment"), widget=forms.Textarea, required=False) qa_shared_with = widgets.Select2MultipleField( |