Add record selection to slot edit page

Not the prettiest, and doesn't check for duplicate records, but works.
Fixes assembla-51