From dc4d212452f754b6205b56e7ceb47d4d3d4b7ebe Mon Sep 17 00:00:00 2001
From: igorkorenfeld
Date: Thu, 10 Nov 2022 16:24:01 -0500
Subject: [PATCH] Move example text into a separate includes
---
.../application_authorizing_official.html | 2 +-
.../templates/application_dotgov_domain.html | 16 +---------------
.../templates/includes/ao_example__city.html | 1 +
.../templates/includes/domain_example__city.html | 15 +++++++++++++++
4 files changed, 18 insertions(+), 16 deletions(-)
create mode 100644 src/registrar/templates/includes/ao_example__city.html
create mode 100644 src/registrar/templates/includes/domain_example__city.html
diff --git a/src/registrar/templates/application_authorizing_official.html b/src/registrar/templates/application_authorizing_official.html
index 9442711d9..a3458ed90 100644
--- a/src/registrar/templates/application_authorizing_official.html
+++ b/src/registrar/templates/application_authorizing_official.html
@@ -12,7 +12,7 @@
-
Domain requests from cities must be authorized by the mayor or the equivalent highest elected official.
+ {% include "includes/ao_example__city.html" %}
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/templates/application_dotgov_domain.html b/src/registrar/templates/application_dotgov_domain.html
index 368183d7b..7b0d0700d 100644
--- a/src/registrar/templates/application_dotgov_domain.html
+++ b/src/registrar/templates/application_dotgov_domain.html
@@ -18,21 +18,7 @@
Here are a few domain examples for your type of organization.
-
Most city domains must include the two-letter state abbreviation or clearly spell out the state name. Using phrases like “City of” or “Town of” is optional.
-
Examples:
-
- - www.BlufftonIndiana.gov
- - www.CityofEudoraKS.gov
- - www.WallawallaWA.gov
-
-
-
Some cities don’t have to refer to their state.
-
- - City names that are not shared by any other U.S. city, town, or village can be requested without referring to the state. We use the Census Bureau’s National Places Gazetteer Files to determine if names are unique.
- - Certain cities are so well-known that they may not require a state reference to communicate location. We use the list of U.S. “dateline cities” in the Associated Press Stylebook to make this determination.
- - The 50 largest cities, as measured by population according to the Census Bureau, can have .gov domain names that don’t refer to their state.
-
-
+ {% include "includes/domain_example__city.html" %}