fixed more changes

This commit is contained in:
asaki222 2024-10-25 13:07:58 -04:00
parent e93b35c494
commit 7ada2d127c
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
3 changed files with 3 additions and 4 deletions

View file

@ -2,7 +2,7 @@
{% if organization.federal_agency %}
{{ organization.federal_agency }}<br />
{% endif %}
{% if organization.organization_name %}
{% if organization.organization_name %}
{{ organization.organization_name }}
{% endif %}
{% if organization.address_line1 %}
@ -11,7 +11,7 @@
{% if organization.address_line2 %}
<br />{{ organization.address_line2 }}
{% endif %}
{% if organization.city %}
{% if organization.city %}
<br />{{ organization.city }}{% if organization.state_territory %},&nbsp;
{% else %}<br />
{% endif %}

View file

@ -29,7 +29,7 @@
{% if step == Step.ORGANIZATION_FEDERAL %}
{% with title=form_titles|get_item:step value=domain_request..get_federal_type_display|default:"<span class='text-bold text-secondary-dark'>Incomplete</span>"|safe %}
{% with title=form_titles|get_item:step value=domain_request.get_federal_type_display|default:"<span class='text-bold text-secondary-dark'>Incomplete</span>"|safe %}
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url %}
{% endwith %}
{% endif %}

View file

@ -249,7 +249,6 @@ class DomainRequestTests(TestWithUser, WebTest):
type_result = type_form.submit()
# should see results in db
domain_request = DomainRequest.objects.get() # there's only one
print(domain_request.generic_org_type)
self.assertEqual(domain_request.generic_org_type, "federal")
# the post request should return a redirect to the next form in
# the domain request page