From cd101a4b9e29a1bf9ebd9831679b56dcecabe953 Mon Sep 17 00:00:00 2001 From: Jon Roberts Date: Mon, 27 Mar 2023 13:35:26 -0600 Subject: [PATCH] fix home.html to redirect to forms if status set to started --- src/registrar/templates/application_status.html | 2 ++ src/registrar/templates/home.html | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/registrar/templates/application_status.html b/src/registrar/templates/application_status.html index d0c6d8e42..c66b05d80 100644 --- a/src/registrar/templates/application_status.html +++ b/src/registrar/templates/application_status.html @@ -2,6 +2,7 @@ {% block title %}Apply for a .gov domain – Status{% endblock %} {% load static url_helpers %} +{% content %} {% block form_fields %} {% for step in steps.all|slice:":-1" %} @@ -100,3 +101,4 @@ {% endfor %} {% endblock %} +{% endblock %} \ No newline at end of file diff --git a/src/registrar/templates/home.html b/src/registrar/templates/home.html index 7b560d0a8..5bcf5027f 100644 --- a/src/registrar/templates/home.html +++ b/src/registrar/templates/home.html @@ -75,14 +75,15 @@ {{ application.created_at|date }} {{ application.status|title }} - - {% if application.status == "started" %} + {% if application.status == "started" %} + Edit {{ application.requested_domain.name|default:"New domain request" }} {% else %} +