1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 14:17:25 +02:00

Improve edit buttons

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-03-31 21:36:09 +02:00
parent 37b86d4ea0
commit 9092cf1846
4 changed files with 24 additions and 13 deletions

View File

@ -61,7 +61,10 @@
{% if user.registration.is_admin or user.registration in tournament.organizers.all %}
<div class="card-footer text-center">
<a href="{% url "participation:tournament_update" pk=tournament.pk %}"><button class="btn btn-secondary">{% trans "Edit tournament" %}</button></a>
<a class="btn btn-secondary" href="{% url "participation:tournament_update" pk=tournament.pk %}">
<i class="fas fa-edit"></i>
{% trans "Edit tournament" %}
</a>
</div>
{% endif %}
</div>