diff --git a/edivorce/apps/core/templates/prequalification/step_01.html b/edivorce/apps/core/templates/prequalification/step_01.html index 09a0e160..a39d11e2 100644 --- a/edivorce/apps/core/templates/prequalification/step_01.html +++ b/edivorce/apps/core/templates/prequalification/step_01.html @@ -112,17 +112,6 @@ {% block formbuttons %}
- - {% if request.user.is_authenticated %} - -    Back - - {% else %} - -    Back - - {% endif %} - Next    diff --git a/edivorce/apps/core/utils/question_step_mapping.py b/edivorce/apps/core/utils/question_step_mapping.py index 64a93b8c..0c76d82f 100644 --- a/edivorce/apps/core/utils/question_step_mapping.py +++ b/edivorce/apps/core/utils/question_step_mapping.py @@ -284,6 +284,13 @@ question_step_mapping = { 'divorce_take_effect_on', 'divorce_take_effect_on_specific_date'], 'filing_locations': ['court_registry_for_filing'], + 'signing_filing': ['how_to_sign', + 'how_to_file', + 'signing_location', + 'signing_location_you', + 'signing_location_spouse', + 'email_you', + 'email_spouse'], } page_step_mapping = { @@ -299,6 +306,7 @@ page_step_mapping = { 'other_orders': 'other_orders', 'other_questions': 'other_questions', 'location': 'filing_locations', + 'signing_filing': 'signing_filing', } """ List of court registries """ diff --git a/edivorce/apps/core/views/main.py b/edivorce/apps/core/views/main.py index ed0628bb..1d8c7585 100644 --- a/edivorce/apps/core/views/main.py +++ b/edivorce/apps/core/views/main.py @@ -179,6 +179,10 @@ def overview(request): responses_dict_by_step['active_page'] = 'overview' responses_dict_by_step['derived'] = get_derived_data(responses_dict) + # Dashnav needs filing option to determine which steps to show + for question in responses_dict_by_step['signing_filing']: + responses_dict_by_step[question['question_id']] = question['value'] + response = render(request, 'overview.html', context=responses_dict_by_step) # set this session variable after the page is already rendered