From 11052951b74b9ad4b6a9412ae490086235f9154b Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 3 Jan 2021 13:40:40 +0100 Subject: Rewrite in Rust --- templates/category/table.html | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 templates/category/table.html (limited to 'templates/category/table.html') diff --git a/templates/category/table.html b/templates/category/table.html new file mode 100644 index 0000000..896304a --- /dev/null +++ b/templates/category/table.html @@ -0,0 +1,38 @@ +{% extends "base.html" %} + +{% block title %} + Catégories +{% endblock title %} + +{% block main %} + +
+ Nouveau +
+ + {% if not categories %} + +
+ Il n’y a aucune catégorie. +
+ + {% else %} + +
+ {% for category in categories %} + + + {{ category.name }} + + + {% endfor %} +
+ + {% endif %} +{% endblock main %} -- cgit v1.2.3