<commit_before>{% extends "projects/polling-stations/polling_stations_base.html" %}
{% load django_markdown %}


{% block page_title %}
<h1>Polling station finder</h1>
{% endblock page_title %}

{% block main_content %}
{% filter markdown %}


### Example widget
<figure>
  <noscript>
    <iframe src="https://wheredoivote.co.uk/embed/"
      style="width:100%; height:1100px" frameborder="0" scrolling="no">
    </iframe>
  </noscript>
  <div id="dc_wdiv"></div>
  <script type="text/javascript"
    src="https://widget.wheredoivote.co.uk/wdiv.js">
  </script>
  <figcaption>
    Live data varies, so results might not show for example postcodes.
    We tend not to have data outside of major elections, <a href="{% url "contact" %}">contact us</a>
    if you'd like a demo.
  </figcaption>
</figure>

We'd love you to use our polling station finder on your web site. If you do, we kindly ask that you:

1. Credit Democracy Club, linking to our home page at [https://democracyclub.org.uk/](https://democracyclub.org.uk/) along side the embedded widget.
2. <a href="{% url "contact" %}">Let us know</a> you're using it. We don't limit use, but it's great to know who has used the embed feature.
3. Give us feedback either from your users or yourselves. We want to learn and iterate, and we can't do that without feedback!

To embed the site, use the following code:


    <noscript>
      <iframe src="https://wheredoivote.co.uk/embed/"
        style="width:100%; height:1100px" frameborder="0" scrolling="no">
      </iframe>
    </noscript>
    <div id="dc_wdiv"></div>
    <script type="text/javascript"
      src="https://widget.wheredoivote.co.uk/wdiv.js">
    </script>

## Adding your data
Work in a council and want your polling stations to work in the widget?
See our <a href="{% url 'projects:polling_data_upload' %}">plans page</a> for more info.

## Custom designs, white label and API

If you would like something other than the default design on your pages, we can
provide a white label or custom version. For software developers we have an
[API](https://wheredoivote.co.uk/api/) that allows you to use our service in
your bespoke applications.

Please [contact us]({% url "contact"%}) for more information about this.

{% endfilter %}
{% endblock main_content %}

<commit_msg>update embed code<commit_after>{% extends "projects/polling-stations/polling_stations_base.html" %}
{% load django_markdown %}


{% block page_title %}
<h1>Polling station finder</h1>
{% endblock page_title %}

{% block main_content %}
{% filter markdown %}


### Example widget
<figure>
  <noscript>
    <iframe src="https://wheredoivote.co.uk/embed/"
      style="width:100%; height:1100px" frameborder="0" scrolling="no">
    </iframe>
  </noscript>
  <div id="dc_wdiv" aria-live="polite" role="region"></div>
  <script type="text/javascript"
    src="https://widget.wheredoivote.co.uk/wdiv.js">
  </script>
  <figcaption>
    Live data varies, so results might not show for example postcodes.
    We tend not to have data outside of major elections, <a href="{% url "contact" %}">contact us</a>
    if you'd like a demo.
  </figcaption>
</figure>

We'd love you to use our polling station finder on your web site. If you do, we kindly ask that you:

1. Credit Democracy Club, linking to our home page at [https://democracyclub.org.uk/](https://democracyclub.org.uk/) along side the embedded widget.
2. <a href="{% url "contact" %}">Let us know</a> you're using it. We don't limit use, but it's great to know who has used the embed feature.
3. Give us feedback either from your users or yourselves. We want to learn and iterate, and we can't do that without feedback!

To embed the site, use the following code:


    <noscript>
      <iframe src="https://wheredoivote.co.uk/embed/"
        style="width:100%; height:1100px" frameborder="0" scrolling="no">
      </iframe>
    </noscript>
    <div id="dc_wdiv" aria-live="polite" role="region"></div>
    <script type="text/javascript"
      src="https://widget.wheredoivote.co.uk/wdiv.js">
    </script>

## Adding your data
Work in a council and want your polling stations to work in the widget?
See our <a href="{% url 'projects:polling_data_upload' %}">plans page</a> for more info.

## Custom designs, white label and API

If you would like something other than the default design on your pages, we can
provide a white label or custom version. For software developers we have an
[API](https://developers.democracyclub.org.uk/) that allows you to use our service in
your bespoke applications.

Please [contact us]({% url "contact"%}) for more information about this.

{% endfilter %}
{% endblock main_content %}


{'fraction_non_alphanumeric': 0.13087320317528428, 'fraction_numerical': 0.009010941857970392, 'mean_word_length': 3.9648562300319488, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6990709', 'n_tokens_mistral': 1545, 'n_tokens_neox': 1416, 'n_words': 536}