{% extends 'base.html.twig' %} {% block title %}Offers{% endblock %} {% block body %} {% for message in app.flashes('success') %} {% endfor %}

Filter

{{ form_start(filter_form) }}
{{ form_row(filter_form.zipCode) }}
{{ form_row(filter_form.distance) }}
{{ form_end(filter_form) }}

Offers

{% if offers|length > 0 %}
{% for offer in offers %}
{% endfor %}
{% else %} {% endif %} {% endblock %}