55c1a9db05ff4180ec2447199378.php 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. /* SensioDistributionBundle::Configurator/steps.html.twig */
  3. class __TwigTemplate_b08555c1a9db05ff4180ec2447199378 extends Twig_Template
  4. {
  5. protected function doDisplay(array $context, array $blocks = array())
  6. {
  7. $context = array_merge($this->env->getGlobals(), $context);
  8. // line 1
  9. echo "<div class=\"symfony-block-steps\">
  10. ";
  11. // line 2
  12. $context['_parent'] = (array) $context;
  13. $context['_seq'] = twig_ensure_traversable(range(1, $this->getContext($context, 'count')));
  14. foreach ($context['_seq'] as $context['_key'] => $context['i']) {
  15. // line 3
  16. echo "
  17. ";
  18. // line 4
  19. if (($this->getContext($context, 'i') == ($this->getContext($context, 'index') + 1))) {
  20. // line 5
  21. echo " <span class=\"selected\">Step ";
  22. echo twig_escape_filter($this->env, $this->getContext($context, 'i'), "html");
  23. echo "</span>
  24. ";
  25. } else {
  26. // line 7
  27. echo " <span>Step ";
  28. echo twig_escape_filter($this->env, $this->getContext($context, 'i'), "html");
  29. echo "</span>
  30. ";
  31. }
  32. // line 9
  33. echo "
  34. ";
  35. // line 10
  36. if (($this->getContext($context, 'i') != $this->getContext($context, 'count'))) {
  37. // line 11
  38. echo " &gt;
  39. ";
  40. }
  41. // line 13
  42. echo " ";
  43. }
  44. $_parent = $context['_parent'];
  45. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  46. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  47. // line 14
  48. echo "</div>
  49. ";
  50. }
  51. public function getTemplateName()
  52. {
  53. return "SensioDistributionBundle::Configurator/steps.html.twig";
  54. }
  55. public function isTraitable()
  56. {
  57. return false;
  58. }
  59. }