From 02b682d599a12c589d3ae2d4d304a8e9d597281c Mon Sep 17 00:00:00 2001 From: ariannedee Date: Mon, 26 Oct 2020 10:42:44 -0700 Subject: [PATCH] Only show submit documents button if they're filing online and haven't already filed. --- edivorce/apps/core/templates/dashboard/final_filing.html | 8 ++++---- .../apps/core/templates/dashboard/initial_filing.html | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/edivorce/apps/core/templates/dashboard/final_filing.html b/edivorce/apps/core/templates/dashboard/final_filing.html index 3c1d100d..47a06895 100644 --- a/edivorce/apps/core/templates/dashboard/final_filing.html +++ b/edivorce/apps/core/templates/dashboard/final_filing.html @@ -279,13 +279,13 @@ {% block formbuttons %}
   Back - {% if final_filing_submitted %} - Next    - {% else %} + {% if how_to_file == 'Online' and not final_filing_submitted %}     Submit Documents + {% else %} + Next    {% endif %}     Save and return later diff --git a/edivorce/apps/core/templates/dashboard/initial_filing.html b/edivorce/apps/core/templates/dashboard/initial_filing.html index 495aeb3e..370852b9 100644 --- a/edivorce/apps/core/templates/dashboard/initial_filing.html +++ b/edivorce/apps/core/templates/dashboard/initial_filing.html @@ -128,10 +128,13 @@ {% if initial_filing_submitted %} Next    - {% else %} + {% elif how_to_file == 'Online' %}     Submit Documents + {% else %} + Next    {% endif %}    Save and return later