Add dev team options to translations file so they can be used in the to review template

This commit is contained in:
leigh-mil
2019-01-15 16:53:18 -05:00
parent 08555e543e
commit 7891432e90
4 changed files with 22 additions and 9 deletions

View File

@@ -195,10 +195,13 @@ APPLICATION_COMPLEXITY = [
]
DEV_TEAM = [
("government_civilians", "Government Civilians"),
("military", "Military "),
("contractor", "Contractor "),
("other", "Other <em>(E.g. University or other partner)</em>"),
(
"government_civilians",
translate("forms.task_order.dev_team.government_civilians"),
),
("military", translate("forms.task_order.dev_team.military")),
("contractor", translate("forms.task_order.dev_team.contractor")),
("other", translate("forms.task_order.dev_team.other")),
]
TEAM_EXPERIENCE = [

View File

@@ -59,8 +59,8 @@ class AppInfoForm(CacheableForm):
)
complexity_other = StringField(translate("forms.task_order.complexity_other_label"))
dev_team = SelectMultipleField(
translate("forms.task_order.dev_team_label"),
description=translate("forms.task_order.dev_team_description"),
translate("forms.task_order.dev_team.label"),
description=translate("forms.task_order.dev_team.description"),
choices=DEV_TEAM,
default="",
widget=ListWidget(prefix_label=False),