Make create absence period form work