implement deletion of offer
This commit is contained in:
parent
54dd7caf3f
commit
07cb90e7fb
2 changed files with 19 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
{% if offer.byUser == user %}
|
||||
<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="{{ path('delete_offer', {'id': offer.id}) }}", class="btn btn-danger"><i class="fas fa-trash-alt"></i></a>
|
||||
{% else %}
|
||||
<h3>Wishes</h3>
|
||||
<p>{{ offer.byUser }} would like some of the following in return:</p>
|
||||
|
|
Reference in a new issue