mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
Clean up comments
This commit is contained in:
parent
8718635b94
commit
d5f55ba383
2 changed files with 3 additions and 9 deletions
|
@ -19,7 +19,7 @@ class TestDataUpdates(TestCase):
|
||||||
self.user3 = User.objects.create(username="user3")
|
self.user3 = User.objects.create(username="user3")
|
||||||
self.user4 = User.objects.create(username="user4")
|
self.user4 = User.objects.create(username="user4")
|
||||||
# The last user created triggers the creation of a contact and attaches itself to it. See signals.
|
# 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.bs_user = User.objects.create()
|
||||||
|
|
||||||
self.contact1 = Contact.objects.create(
|
self.contact1 = Contact.objects.create(
|
||||||
|
|
|
@ -321,15 +321,9 @@ class ApplicationWizard(ApplicationWizardPermissionView, TemplateView):
|
||||||
|
|
||||||
def get_context_data(self):
|
def get_context_data(self):
|
||||||
"""Define context for access on all wizard pages."""
|
"""Define context for access on all wizard pages."""
|
||||||
# The on-page submit button is just a trigger for the modal;
|
# Build the submit button that we'll pass to 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).
|
|
||||||
modal_button = '<button type="submit" ' 'class="usa-button" ' ">Submit request</button>"
|
modal_button = '<button type="submit" ' 'class="usa-button" ' ">Submit request</button>"
|
||||||
# We'll concatenate the modal header here for passing along to the
|
# Concatenate the modal header that we'll pass to the modal.
|
||||||
# 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.
|
|
||||||
if self.application.requested_domain:
|
if self.application.requested_domain:
|
||||||
modal_heading = "You are about to submit a domain request for " + str(self.application.requested_domain)
|
modal_heading = "You are about to submit a domain request for " + str(self.application.requested_domain)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue