From fb7354c4a430f4f4916a1247aa1b1bf564ead0da Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Fri, 30 Sep 2016 21:02:44 +0200 Subject: Fix bad template name When a user register, the template displayed saying it should now check its email was misspelled. Resulting in displaying the default one (with margin issue). --- .../Resources/views/Registration/checkEmail.html.twig | 11 ----------- .../Resources/views/Registration/check_email.html.twig | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 src/Wallabag/UserBundle/Resources/views/Registration/checkEmail.html.twig create mode 100644 src/Wallabag/UserBundle/Resources/views/Registration/check_email.html.twig diff --git a/src/Wallabag/UserBundle/Resources/views/Registration/checkEmail.html.twig b/src/Wallabag/UserBundle/Resources/views/Registration/checkEmail.html.twig deleted file mode 100644 index 50937276..00000000 --- a/src/Wallabag/UserBundle/Resources/views/Registration/checkEmail.html.twig +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "FOSUserBundle::layout.html.twig" %} - -{% trans_default_domain 'FOSUserBundle' %} - -{% block fos_user_content %} -
-
-

{{ 'registration.check_email'|trans({'%email%': user.email}) }}

-
-
-{% endblock fos_user_content %} diff --git a/src/Wallabag/UserBundle/Resources/views/Registration/check_email.html.twig b/src/Wallabag/UserBundle/Resources/views/Registration/check_email.html.twig new file mode 100644 index 00000000..50937276 --- /dev/null +++ b/src/Wallabag/UserBundle/Resources/views/Registration/check_email.html.twig @@ -0,0 +1,11 @@ +{% extends "FOSUserBundle::layout.html.twig" %} + +{% trans_default_domain 'FOSUserBundle' %} + +{% block fos_user_content %} +
+
+

{{ 'registration.check_email'|trans({'%email%': user.email}) }}

+
+
+{% endblock fos_user_content %} -- cgit v1.2.3