number.html.twig 434 B

12345678910111213141516171819202122
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3. {% if cookies %}
  4. <h2>Cookies</h2>
  5. <table>
  6. <tr>
  7. <th>Name</th>
  8. <th>Value</th>
  9. </tr>
  10. {% for name, value in cookies %}
  11. <tr>
  12. <td>{{ name }}</td>
  13. <td>{{ value }}</td>
  14. </tr>
  15. {% endfor %}
  16. </table>
  17. {% endif %}
  18. <h2>Luck</h2>
  19. <p>Your lucky number is {{ number }}.</p>
  20. {% endblock %}