diff --git a/app/main/templates/categories.html b/app/main/templates/categories.html index 5ae6a0a..a266aad 100644 --- a/app/main/templates/categories.html +++ b/app/main/templates/categories.html @@ -8,18 +8,15 @@ Catégories - Modifier - Effacer + Éditer {% for category in categories %} {{ category.name }} - - + {{ commons.edit_link(url_for('main.category_edit', category_id=category.id)) }} + {{ commons.delete_link( url_for('main.category_delete', category_id=category.id)) }} {% endfor %} diff --git a/app/main/templates/labels.html b/app/main/templates/labels.html index e55e752..4500f6f 100644 --- a/app/main/templates/labels.html +++ b/app/main/templates/labels.html @@ -8,18 +8,15 @@ Labels - Modifier - Effacer + Éditer {% for label in labels %} {{ label.name }} - - + {{ commons.edit_link(url_for('main.label_edit', label_id=label.id)) }} + {{ commons.delete_link( url_for('main.label_delete', label_id=label.id)) }} {% endfor %} -- libgit2 0.21.2