From 30d5c73f5aaaadd259f9e2eded3e95ce0416457a Mon Sep 17 00:00:00 2001 From: imangh Date: Sat, 23 May 2015 20:13:47 +0430 Subject: [PATCH] Add translation filter to form_errors --- Resources/views/Form/bootstrap.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/Form/bootstrap.html.twig b/Resources/views/Form/bootstrap.html.twig index 6fb9667..f465004 100644 --- a/Resources/views/Form/bootstrap.html.twig +++ b/Resources/views/Form/bootstrap.html.twig @@ -845,7 +845,7 @@ {% endif %} {% for error in errors %} -
  • {{ error.message }}
  • +
  • {{ error.message |trans({}, translation_domain)|raw }}
  • {% endfor %} {% if global_errors == true %}