Is there a reason this can't just be {{form.as_table}}?