From 33a0434e5336d8252066c87e5084c4dcfa21ecad 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