{% extends 'south_africa/latlon_detail_base_view.html' %}
{% load url from future %}

{% block title %}{{ object.name }} - National Politicians{% endblock %}

{% block subcontent %}

  <ul class="tab-links">
      <li><a href="{% url 'latlon' lat=location.y lon=location.x %}">Constituency offices</a></li>
      <li><a href="{% url 'latlon-national' lat=location.y lon=location.x %}" class="active">National representatives</a></li>
    </ul>


  <div class="column politicians-results">
    <h2>National representatives</h2>

    <ul class="unstyled-list">
        {% for politician in politicians %}
          {% include "core/generic_list_item.html" with object=politician %}
        {% empty %}
          <li>
            <p>No politicians found</p>
          </li>
        {% endfor %}
    </ul>
  </div>

  <script type="text/javascript" charset="utf-8">
    add_kml_to_map( 'http://{{ request.META.HTTP_HOST }}{% url "mapit_index" %}area/{{ object.mapit_area.id }}.kml?simplify_tolerance=0.001' );
  </script>

{% endblock %}

{% extends 'south_africa/latlon_detail_base_view.html' %}
{% load url from future %}

{% block title %}{{ object.name }} - National Politicians{% endblock %}

{% block subcontent %}

  <ul class="tab-links">
      <li><a href="{% url 'latlon' lat=location.y lon=location.x %}">Constituency offices</a></li>
      <li><a href="{% url 'latlon-national' lat=location.y lon=location.x %}" class="active">National representatives</a></li>
    </ul>


  <div class="column politicians-results">
    <h2>National representatives for {{ object.name }}</h2>

    <ul class="unstyled-list">
        {% for politician in politicians %}
          {% include "core/generic_list_item.html" with object=politician %}
        {% empty %}
          <li>
            <p>No politicians found</p>
          </li>
        {% endfor %}
    </ul>
  </div>

  <script type="text/javascript" charset="utf-8">
    add_kml_to_map( 'http://{{ request.META.HTTP_HOST }}{% url "mapit_index" %}area/{{ object.mapit_area.id }}.kml?simplify_tolerance=0.001' );
  </script>

{% endblock %}

Add province name to the heading
Add province name to the heading
