mhl/yournextmp-popit — pull request #3 by mhl (2014-11-11 17:06:03+00:00)
Title: Update front-end for new party and person IDs

We've changed the scripts that create the basic PopIt instance so that:

* Parties use the Electoral Commission's party ID
* People have positive integer IDs

This requires (or suggests) a number of changes in the front-end:

* The list of available parties is now fixed; you shouldn't be able to create a
party by adding an unknown party name into the party select box.
* We should only present parties from the Northern Ireland register in
Northern Ireland, and similarly from the Great Britain register in Great
Britain.
* All these parties are loaded from PopIt on start-up (this isn't ideal; see below)
* When a new person is added, they should be created with an integer ID

This pull request makes all of those changes, and in addition, it makes these
improvements:

* Javascript it loaded from files rather than being literally included in `