Unexpected error while generating the form: ({{ message | safe }})