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
All checks were successful
Build and push Docker image / build (push) Successful in 1m53s
This commit is contained in:
parent
bf8161a7fb
commit
3069aab3f9
2 changed files with 4 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue