The class daytime management functions are now available on both new
student and existing student details page.

The code is also refactored heavily to reduce redundant code so both of
the pages utilize a single set of code.