{# Version de Pierre #} {% dump app %}
{% block body %}{% endblock %}
{# 0 => array:5 [▼ "city" => "Annecy" "weather" => "snow" "date" => "29-01-2020" "min" => -4 "max" => 2 ] #} {% set cityWidget = app.session.get('cityWidget') %} {% if cityWidget is not empty %}

{{ cityWidget.city }}

{{ cityWidget.date }}

{{ cityWidget.min }}°C / {{ cityWidget.max }}°C

{% else %}
Sélectionnez une ville
{% endif %}