make button clickable

This commit is contained in:
Jannis Portmann 2021-05-16 15:35:51 +02:00
parent 3a44d42168
commit c2636811fd

View file

@ -20,7 +20,7 @@
</div>
{% if offer.byUser == user %}
<button href="{{ path('edit_offer', {'id': offer.id}) }}" class="btn btn-info"><i class="fas fa-pen"></i></button>
<a href="{{ path('edit_offer', {'id': offer.id}) }}" class="btn btn-info"><i class="fas fa-pen"></i></a>
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#exampleModal"><i class="fas fa-trash-alt"></i></button>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">