Skip to content

Commit

Permalink
Merge pull request #2222 from NonlyNerd/master
Browse files Browse the repository at this point in the history
#2221 - Login form view automatic translation
  • Loading branch information
XWB committed Sep 12, 2016
2 parents 528f0a9 + 987f528 commit 4cb7a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Resources/views/Security/login.html.twig
@@ -1,7 +1,5 @@
{% extends "FOSUserBundle::layout.html.twig" %}

{% trans_default_domain 'FOSUserBundle' %}

{% block fos_user_content %}
{{ include('FOSUserBundle:Security:login_content.html.twig') }}
{% endblock fos_user_content %}
2 changes: 2 additions & 0 deletions Resources/views/Security/login_content.html.twig
@@ -1,3 +1,5 @@
{% trans_default_domain 'FOSUserBundle' %}

{% if error %}
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
Expand Down

0 comments on commit 4cb7a29

Please sign in to comment.