Improve form templates

Move form errors to a separate table row.