{% extends 'base.html.twig' %} {% block title %}Offer: {{ offer.title }}{% endblock %} {% block body %} {% for message in app.flashes('error') %} {% endfor %} {% for message in app.flashes('success') %}
{{ message }}
{% endfor %} {% if offer.byUser == user %} {% endif %}
Generic placeholder image

{{ offer.title }}

{% if offer.byUser == user %} Me {% else %} {{ offer.byUser }} {% endif %}

{{ offer.zipCode }} {% if distance > 0 %} (ca. {{ distance }} km) {% endif %}

Description

{{ offer.description }}

{% if offer.byUser == user %} {% else %}

Wishes

{{ offer.byUser }} would like some of the following in return:

{% if wishes == [] %} {% else %} {% endif %}
Offer trade {% endif %} {% endblock %}