diff --git a/docs/forms.md b/docs/forms.md index b9e74a5..afaa7a4 100644 --- a/docs/forms.md +++ b/docs/forms.md @@ -73,7 +73,7 @@ Displaying validation errors and submitted values is just as simple: ```twig -{% if myform.has_errors %} +{% if myForm.has_errors %}
Danger, Will Robinson! Your form has the following errors: {{ myForm.get_unique_error_messages|join(', ') }}
{% elseif myForm.succeeded %}Success, thanks for the info!