Raise a TemplateSyntaxError if someone tries to close a form without rendering all its fields