Upcoming elections, including the election type and date
-
Polling station information, including address
-
Candidate information
-
Contact details for electoral services teams at local councils, and electoral registration offices in
- Scotland – useful for submitting postal or proxy vote application forms
-
+
Upcoming elections, including the election type and date
+
Polling station information, including address
+
Candidate information
+
Contact details for electoral services teams at local councils, and electoral registration offices in
+ Scotland – useful for submitting postal or proxy vote application forms
+
You can add the Electoral Commission’s election lookup widget to any website.
Here’s how the lookup widget will look on your site. Feel free to test it by entering a
@@ -22,7 +22,7 @@
Election lookup widget
@@ -71,66 +71,66 @@
Election lookup widget
+ function createWidgetVersion(language) {
+ debugger
+ var widgetArea = document.querySelector('#widget-area');
+ var codeArea = document.querySelector('#code-area');
+ var widget = makeWidget(language);
+ var script = makeScript();
+ var embedCode = getEmbedCode(makeAttributeList(language));
+ widgetArea.innerHTML = '';
+ widgetArea.appendChild(widget);
+ widgetArea.appendChild(script);
+ codeArea.innerHTML = embedCode;
+ }
+
{% endblock %}
diff --git a/ec_api/apps/users/templates/users/delete_key.html b/ec_api/apps/users/templates/users/delete_key.html
index 7707282..3ea228d 100644
--- a/ec_api/apps/users/templates/users/delete_key.html
+++ b/ec_api/apps/users/templates/users/delete_key.html
@@ -2,15 +2,15 @@
{% block content %}
-