Refactor to keep whole li in task partial to simplify task_list