fix doc.

it should use fromTemplate(Template['new-task']).
and make it easy to read.