Add delete group link to group detail page and update group creation header
All checks were successful
Build and push Docker image / build (push) Successful in 1m53s

This commit is contained in:
Edgar P. Burkhart 2025-06-14 18:14:33 +02:00
parent bf8161a7fb
commit 3069aab3f9
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 4 additions and 3 deletions

View file

@ -25,6 +25,10 @@
formaction="{% url "group_clear_blacklist" pk=group.pk %}">
<i class="ri-history-fill"></i> Effacer la blacklist
</button>
<a href="{% url "group_delete" group.pk %}"
role="button"
class="secondary">
<i class="ri-delete-bin-fill"></i> Supprimer</a>
</div>
</form>
</p>

View file

@ -5,9 +5,6 @@
<h1>
<i class="ri-group-2-fill"></i> {{ group.name }}
</h1>
<p>
<a href="{% url "group_delete" group.pk %}">Supprimer le groupe</a>
</p>
{% else %}
<h1>Créer un groupe</h1>
{% endif %}