mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 17:01:56 +02:00
Display federal and election questions conditionally
This commit is contained in:
parent
e746cb2adc
commit
3fe00d1980
4 changed files with 125 additions and 50 deletions
|
@ -10,12 +10,14 @@ from django.urls import include, path
|
|||
from django.views.generic import RedirectView
|
||||
|
||||
from registrar.views import health, index, profile, whoami
|
||||
from registrar.forms import ApplicationWizard
|
||||
from registrar.forms import ApplicationWizard, WIZARD_CONDITIONS
|
||||
from api.views import available
|
||||
|
||||
APPLICATION_URL_NAME = "application_step"
|
||||
application_wizard = ApplicationWizard.as_view(
|
||||
url_name=APPLICATION_URL_NAME, done_step_name="finished"
|
||||
url_name=APPLICATION_URL_NAME,
|
||||
done_step_name="finished",
|
||||
condition_dict=WIZARD_CONDITIONS,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue