{% extends 'base.html' %} {% if unit_cd %}{% set page_title = political_unit.name %}{% endif %} {% block content %}
{% if http_code == 200 %}

{{ political_unit.name }}

{% if political_unit.name == 'United States' %}

Select water monitoring location

{% for state_cd in political_unit.children %} {% endfor %}
FIPS Code State
{{ state_cd }} {{ config.COUNTRY_STATE_COUNTY_LOOKUP.US.state_cd[state_cd].name }}
{% endif %} {% if political_unit.name != 'US' %} {% if political_unit.county_cd %}

Select water monitoring location

{% for county_cd in political_unit.county_cd %} {% endfor %}
FIPS Code County
{{ county_cd }} {{ config.COUNTRY_STATE_COUNTY_LOOKUP.US.state_cd[state_cd].county_cd[county_cd].name }}
{% endif %} {% endif %} {% if show_locations_link %} Monitoring Locations {% endif %} {% if monitoring_locations %} {% for location in monitoring_locations %} {% endfor %}
Monitoring Locations
Site number Name Site type
{{ location.site_no }} {{ location.station_nm }} {{ config.NWIS_CODE_LOOKUP.site_tp_cd[location.site_tp_cd].name }}
{% endif %} {% else %}

Error: HTTP {{ http_code }} -- State or county not found.

{% endif %}
{% endblock content %}