From d5f55ba383735cc07bb7d531888fba9add081fae Mon Sep 17 00:00:00 2001 From: Rachid Mrad Date: Fri, 15 Dec 2023 11:43:20 -0500 Subject: [PATCH] Clean up comments --- .../tests/test_copy_names_from_contacts_to_users.py | 2 +- src/registrar/views/application.py | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/registrar/tests/test_copy_names_from_contacts_to_users.py b/src/registrar/tests/test_copy_names_from_contacts_to_users.py index 988b57a4b..032203f4e 100644 --- a/src/registrar/tests/test_copy_names_from_contacts_to_users.py +++ b/src/registrar/tests/test_copy_names_from_contacts_to_users.py @@ -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( diff --git a/src/registrar/views/application.py b/src/registrar/views/application.py index ba716c117..0a6eb5b7b 100644 --- a/src/registrar/views/application.py +++ b/src/registrar/views/application.py @@ -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 = '" - # 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: