parent = array(); $this->blocks = array( 'content' => array($this, 'block_content'), ); } public function getParent(array $context) { $parent = "AcmeDemoBundle::layout.html.twig"; if ($parent instanceof Twig_Template) { $name = $parent->getTemplateName(); $this->parent[$name] = $parent; $parent = $name; } elseif (!isset($this->parent[$parent])) { $this->parent[$parent] = $this->env->loadTemplate($parent); } return $this->parent[$parent]; } protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); // line 29 $context['code'] = $this->env->getExtension('demo')->getCode($this); $this->getParent($context)->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = array()) { // line 4 echo "

Login

Choose between two default users: user/userpass (ROLE_USER) or admin/adminpass (ROLE_ADMIN)

"; // line 10 if ($this->getContext($context, 'error')) { // line 11 echo "
"; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'error'), "message", array(), "any", false), "html"); echo "
"; } // line 13 echo "
env, $this->env->getExtension('routing')->getPath("_security_check"), "html"); echo "\" method=\"post\" id=\"login\">
env, $this->getContext($context, 'last_username'), "html"); echo "\" />
"; } public function getTemplateName() { return "AcmeDemoBundle:Secured:login.html.twig"; } public function isTraitable() { return false; } }