-
-
-
- {{ status_text|trans }}
- - -diff --git a/app/Resources/TwigBundle/views/Exception/error.html.twig b/app/Resources/TwigBundle/views/Exception/error.html.twig index fc18dae..b651239 100644 --- a/app/Resources/TwigBundle/views/Exception/error.html.twig +++ b/app/Resources/TwigBundle/views/Exception/error.html.twig @@ -3,109 +3,36 @@
{{ status_text|trans }}
- - -Error {{ status_code }}
{{ status_text }}+ +
Go home, you're drunk!- + - - - - - - - {% endblock %} + if (errors.hasOwnProperty({{ status_code }})) { + var error = document.getElementById('error'); + error.innerHTML = '
' + errors[{{ status_code }}] + ''; + } +