parent = array(); $this->blocks = array( 'title' => array($this, 'block_title'), 'content' => array($this, 'block_content'), ); } public function getParent(array $context) { $parent = "SensioDistributionBundle::Configurator/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); $this->getParent($context)->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = array()) { echo "Symfony - Configure global Secret"; } // line 5 public function block_content($context, array $blocks = array()) { // line 6 echo " "; echo $this->env->getExtension('form')->setTheme($this->getContext($context, 'form'), array("SensioDistributionBundle::Configurator/form.html.twig", )); // line 7 echo " "; $this->env->loadTemplate("SensioDistributionBundle::Configurator/steps.html.twig")->display(array_merge($context, array("index" => $this->getContext($context, 'index'), "count" => $this->getContext($context, 'count')))); // line 8 echo "

Global Secret

Configure the global secret for your website (the secret is used for the CSRF protection among other things):

"; // line 12 echo $this->env->getExtension('form')->renderErrors($this->getContext($context, 'form')); echo "
env, $this->env->getExtension('routing')->getPath("_configurator_step", array("index" => $this->getContext($context, 'index'))), "html"); echo " \" method=\"POST\">
"; // line 15 echo $this->env->getExtension('form')->renderLabel($this->getAttribute($this->getContext($context, 'form'), "secret", array(), "any", false)); echo "
"; // line 17 echo $this->env->getExtension('form')->renderWidget($this->getAttribute($this->getContext($context, 'form'), "secret", array(), "any", false)); echo " Generate
"; // line 20 echo $this->env->getExtension('form')->renderErrors($this->getAttribute($this->getContext($context, 'form'), "secret", array(), "any", false)); echo "
"; // line 25 echo $this->env->getExtension('form')->renderRest($this->getContext($context, 'form')); echo "

* mandatory fields

"; } public function getTemplateName() { return "SensioDistributionBundle:Configurator/Step:secret.html.twig"; } public function isTraitable() { return false; } }