Create partials: 1 for a closed task and 1 for an open task
Render task partials
Ajaxify edit form