diff --git a/mymodule/themes/fancytheme/core/loginuserpass.twig b/mymodule/themes/fancytheme/core/loginuserpass.twig
index 788c483ae44a986a939c971553cb53e143a87ba5..65582dcbe97553f24fed6e9064443a1698f5f4fc 100644
--- a/mymodule/themes/fancytheme/core/loginuserpass.twig
+++ b/mymodule/themes/fancytheme/core/loginuserpass.twig
@@ -1,6 +1,6 @@
-% set pagetitle = 'Enter your username and password'|trans %}
+{ % set pagetitle = 'Enter your username and password'|trans %}
 
-{% extends "@core/base.twig" %}
+{% extends "@mymodule/base.twig" %}
 
 {% block postload %}
     <script src="{{ asset('js/loginuserpass.js', 'core') }}"></script>