Use data-template-name attribute instead id to identify views
Initial attempt at creating schedules