Add link to edit offer

This commit is contained in:
Jannis Portmann 2021-05-12 15:02:11 +02:00
parent 2f856d798e
commit e0ec9807a3

View file

@ -20,7 +20,7 @@
</div> </div>
{% if offer.byUser == user %} {% if offer.byUser == user %}
<a href="#" class="btn btn-info"><i class="fas fa-pen"></i></a> <a href="{{ path('edit_offer', {'id': offer.id}) }}" class="btn btn-info"><i class="fas fa-pen"></i></a>
<a href="#" class="btn btn-danger"><i class="fas fa-trash-alt"></i></a> <a href="#" class="btn btn-danger"><i class="fas fa-trash-alt"></i></a>
{% else %} {% else %}
<h3>Wishes</h3> <h3>Wishes</h3>