refactoring my schedule form with nested attributes