mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-21 08:44:41 +02:00
fixed more changes
This commit is contained in:
parent
e93b35c494
commit
7ada2d127c
3 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
{% if organization.federal_agency %}
|
{% if organization.federal_agency %}
|
||||||
{{ organization.federal_agency }}<br />
|
{{ organization.federal_agency }}<br />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.organization_name %}
|
{% if organization.organization_name %}
|
||||||
{{ organization.organization_name }}
|
{{ organization.organization_name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.address_line1 %}
|
{% if organization.address_line1 %}
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
{% if organization.address_line2 %}
|
{% if organization.address_line2 %}
|
||||||
<br />{{ organization.address_line2 }}
|
<br />{{ organization.address_line2 }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.city %}
|
{% if organization.city %}
|
||||||
<br />{{ organization.city }}{% if organization.state_territory %},
|
<br />{{ organization.city }}{% if organization.state_territory %},
|
||||||
{% else %}<br />
|
{% else %}<br />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% if step == Step.ORGANIZATION_FEDERAL %}
|
{% 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 %}
|
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -249,7 +249,6 @@ class DomainRequestTests(TestWithUser, WebTest):
|
||||||
type_result = type_form.submit()
|
type_result = type_form.submit()
|
||||||
# should see results in db
|
# should see results in db
|
||||||
domain_request = DomainRequest.objects.get() # there's only one
|
domain_request = DomainRequest.objects.get() # there's only one
|
||||||
print(domain_request.generic_org_type)
|
|
||||||
self.assertEqual(domain_request.generic_org_type, "federal")
|
self.assertEqual(domain_request.generic_org_type, "federal")
|
||||||
# the post request should return a redirect to the next form in
|
# the post request should return a redirect to the next form in
|
||||||
# the domain request page
|
# the domain request page
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue