mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 18:39:21 +02:00
Fixed context
This commit is contained in:
parent
6352c96a6c
commit
78ba5c78d7
2 changed files with 4 additions and 3 deletions
|
@ -230,7 +230,8 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
|
|||
if self.__class__ == DomainRequestWizard:
|
||||
if request.path_info == self.NEW_URL_NAME:
|
||||
context = self.get_context_data()
|
||||
return render(request, "domain_request_intro.html")
|
||||
logger.debug("CONTEXT profile flag is %s" % context["has_profile_feature_flag"])
|
||||
return render(request, "domain_request_intro.html", context=context)
|
||||
else:
|
||||
return self.goto(self.steps.first)
|
||||
|
||||
|
@ -388,6 +389,7 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
|
|||
modal_heading = "You are about to submit an incomplete request"
|
||||
|
||||
has_profile_flag = flag_is_active(self.request, "profile_feature")
|
||||
logger.debug("PROFILE FLAG is %s" % has_profile_flag)
|
||||
|
||||
context = {
|
||||
"form_titles": self.TITLES,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue