Convert the schedule editing form to a component. The first part of #22