Fix datepicker

This at least makes it possible to test :)
Will this text box still be read-only? Model_checks.py doesn't have a lot of validation checks for bad data yet.