use Task & Job, a Task has many Jobs
use new model in template
modify detail.html