{% extends 'base.html.twig' %} {% block title %}Offers{% endblock %} {% block body %} {% for message in app.flashes('success') %} {% endfor %} {% for message in app.flashes('error') %} {% endfor %}
{{ form(filter_form, {attr: {novalidate: 'novalidate'}}) }}

Offers

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