mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-30 14:36:32 +02:00
lint + test
This commit is contained in:
parent
e4e1d71526
commit
192e499953
2 changed files with 11 additions and 4 deletions
|
@ -119,7 +119,10 @@ class RequestingEntityForm(RegistrarForm):
|
|||
if not cleaned_data.get("suborganization_city"):
|
||||
self.add_error("suborganization_city", "Enter the city where your suborganization is located.")
|
||||
if not cleaned_data.get("suborganization_state_territory"):
|
||||
self.add_error("suborganization_state_territory", "Select the state, territory, or military post where your suborganization is located")
|
||||
self.add_error(
|
||||
"suborganization_state_territory",
|
||||
"Select the state, territory, or military post where your suborganization is located",
|
||||
)
|
||||
elif not suborganization:
|
||||
self.add_error("sub_organization", "Suborganization is required.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue