summaryrefslogtreecommitdiff
path: root/ishtar_common/forms_common.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-03-04 14:16:15 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-03-04 14:16:15 +0100
commit33a0434e5336d8252066c87e5084c4dcfa21ecad (patch)
tree962d7c2aef0e1c943492665007bd592cccc84dff /ishtar_common/forms_common.py
parenta10841b6caea094ecff73ae16d5a6f48bbd08dd9 (diff)
downloadIshtar-33a0434e5336d8252066c87e5084c4dcfa21ecad.tar.bz2
Ishtar-33a0434e5336d8252066c87e5084c4dcfa21ecad.zip
QA Organization: grammatical gender
Diffstat (limited to 'ishtar_common/forms_common.py')
-rw-r--r--ishtar_common/forms_common.py5
1 files changed, 5 insertions, 0 deletions
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),