Separated the task row template into a snippet