mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
fixed title on section on review page for when no other contacts exist
This commit is contained in:
parent
b15c21c398
commit
b2c5a9ef28
1 changed files with 5 additions and 0 deletions
|
@ -540,6 +540,11 @@ class Review(ApplicationWizard):
|
||||||
context = super().get_context_data()
|
context = super().get_context_data()
|
||||||
context["Step"] = Step.__members__
|
context["Step"] = Step.__members__
|
||||||
context["application"] = self.application
|
context["application"] = self.application
|
||||||
|
# if application has no other contacts, need to change title of Step.OTHER_CONTACTS
|
||||||
|
if not self.application.has_other_contacts():
|
||||||
|
titles = context["form_titles"]
|
||||||
|
titles[Step.OTHER_CONTACTS] = _("No other employees from your organization?")
|
||||||
|
context["form_titles"] = titles
|
||||||
return context
|
return context
|
||||||
|
|
||||||
def goto_next_step(self):
|
def goto_next_step(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue