Clean up comments

This commit is contained in:
Rachid Mrad 2023-12-15 11:43:20 -05:00
parent 8718635b94
commit d5f55ba383
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
2 changed files with 3 additions and 9 deletions

View file

@ -19,7 +19,7 @@ class TestDataUpdates(TestCase):
self.user3 = User.objects.create(username="user3")
self.user4 = User.objects.create(username="user4")
# The last user created triggers the creation of a contact and attaches itself to it. See signals.
# This bs_user defuses that situation (unwanted user-contact pairing) so we can test the code.
# This bs_user defuses that situation.
self.bs_user = User.objects.create()
self.contact1 = Contact.objects.create(

View file

@ -321,15 +321,9 @@ class ApplicationWizard(ApplicationWizardPermissionView, TemplateView):
def get_context_data(self):
"""Define context for access on all wizard pages."""
# The on-page submit button is just a trigger for the modal;
# the submit button we're adding to context will get passed to
# the modal and is the button that triggers the actual domain
# application submission (via post -> goto_next_step -> done).
# Build the submit button that we'll pass to the modal.
modal_button = '<button type="submit" ' 'class="usa-button" ' ">Submit request</button>"
# We'll concatenate the modal header here for passing along to the
# modal include. NOTE: We are able to 'fast-forward' a domain application
# by tyoing in review in the URL. The submit button still shows, hence
# the if/else.
# Concatenate the modal header that we'll pass to the modal.
if self.application.requested_domain:
modal_heading = "You are about to submit a domain request for " + str(self.application.requested_domain)
else: