How to Embed Forms

Often, you'll want to build a form that will include fields from many different
objects. For example, a registration form may contain data belonging to
a User object as well as many Address objects. Fortunately, this
is easy and natural with the Form component.

The end goal is to allow the Category of a Task to be modified right
inside the task form itself. To accomplish this, add a category field
to the TaskType object whose type is an instance of the new CategoryType
class: