diff options
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 |
commit | ae0eaa3f3f5c3b3f0268699b716cf0e589f92d0d (patch) | |
tree | 962d7c2aef0e1c943492665007bd592cccc84dff /ishtar_common/forms_common.py | |
parent | 64433b1fff3dba71fd519c72f77e8ebdef88f19f (diff) | |
download | Ishtar-ae0eaa3f3f5c3b3f0268699b716cf0e589f92d0d.tar.bz2 Ishtar-ae0eaa3f3f5c3b3f0268699b716cf0e589f92d0d.zip |
QA Organization: grammatical gender
Diffstat (limited to 'ishtar_common/forms_common.py')
-rw-r--r-- | ishtar_common/forms_common.py | 5 |
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), |