From ae0eaa3f3f5c3b3f0268699b716cf0e589f92d0d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 4 Mar 2021 14:16:15 +0100 Subject: QA Organization: grammatical gender --- ishtar_common/forms_common.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ishtar_common/forms_common.py') diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 8d57f0e3e..0be35b2b2 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -444,10 +444,15 @@ class QAOrganizationFormMulti(QAForm): MULTI = True REPLACE_FIELDS = [ 'qa_organization_type', + 'qa_grammatical_gender' ] qa_organization_type = forms.ChoiceField( label=_("Organization type"), required=False ) + qa_grammatical_gender = forms.ChoiceField( + label=_("Grammatical gender"), + choices=[('', '--')] + list(models.GENDER), + required=False, help_text=_("Can be used by templates")) TYPES = [ FieldType('qa_organization_type', models.OrganizationType), -- cgit v1.2.3