diff --git a/src/registrar/templates/application_authorizing_official.html b/src/registrar/templates/application_authorizing_official.html index 5d80457df..597697c34 100644 --- a/src/registrar/templates/application_authorizing_official.html +++ b/src/registrar/templates/application_authorizing_official.html @@ -13,7 +13,29 @@

- {% include "includes/ao_example__school-district.html" %} + {% if application.organization_type == 'federal' %} + {% if application.federal_type == 'executive' %} + {% include "includes/ao_example__exec.html" %} + {% elif application.federal_type == 'judicial' %} + {% include "includes/ao_example__judicial.html" %} + {% elif application.federal_type == 'legislative' %} + {% include "includes/ao_example__legislative.html" %} + {% endif %} + {% elif application.organization_type == 'city' %} + {% include "includes/ao_example__city.html" %} + {% elif application.organization_type == 'county' %} + {% include "includes/ao_example__county.html" %} + {% elif application.organization_type == 'interstate' %} + {% include "includes/ao_example__interstate.html" %} + {% elif application.organization_type == 'school_district' %} + {% include "includes/ao_example__school-district.html" %} + {% elif application.organization_type == 'special_district' %} + {% include "includes/ao_example__special-district.html" %} + {% elif application.organization_type == 'state_or_territory' %} + {% include "includes/ao_example__state-territory.html" %} + {% elif application.organization_type == 'tribal' %} + {% include "includes/ao_example__tribal.html" %} + {% endif %}

We’ll contact your authorizing official to let them know that you made this request and to double check that they approve it.

diff --git a/src/registrar/views/application.py b/src/registrar/views/application.py index 3d210d862..c6c4c4bb3 100644 --- a/src/registrar/views/application.py +++ b/src/registrar/views/application.py @@ -365,6 +365,12 @@ class AuthorizingOfficial(ApplicationWizard): template_name = "application_authorizing_official.html" forms = [forms.AuthorizingOfficialForm] + def get_context_data(self): + context = super().get_context_data() + context["Step"] = Step.__members__ + context["application"] = self.application + return context + class CurrentSites(ApplicationWizard): template_name = "application_current_sites.html"