mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 13:09:41 +02:00
Fix minor bug
This commit is contained in:
parent
d90810c844
commit
2da39e9a98
1 changed files with 6 additions and 1 deletions
|
@ -443,7 +443,12 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
|
||||||
requested_domain_name = self.domain_request.requested_domain.name
|
requested_domain_name = self.domain_request.requested_domain.name
|
||||||
|
|
||||||
context_stuff = {}
|
context_stuff = {}
|
||||||
if DomainRequest._form_complete(self.domain_request, self.request):
|
|
||||||
|
# Note: we will want to consolidate the non_org_steps_complete check into the same check that
|
||||||
|
# org_steps_complete is using at some point.
|
||||||
|
non_org_steps_complete = DomainRequest._form_complete(self.domain_request, self.request)
|
||||||
|
org_steps_complete = len(self.db_check_for_unlocking_steps()) == len(self.steps)
|
||||||
|
if (not self.is_portfolio and non_org_steps_complete) or (self.is_portfolio and org_steps_complete):
|
||||||
modal_button = '<button type="submit" ' 'class="usa-button" ' ">Submit request</button>"
|
modal_button = '<button type="submit" ' 'class="usa-button" ' ">Submit request</button>"
|
||||||
context_stuff = {
|
context_stuff = {
|
||||||
"not_form": False,
|
"not_form": False,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue