From 29b8ceb6474e91c40b85b0d903905610b9104b70 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 21 Jun 2019 18:56:30 +0200 Subject: [PATCH] Fix supplies edit --- manuels/templates/manuels/add_supplies.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manuels/templates/manuels/add_supplies.html b/manuels/templates/manuels/add_supplies.html index c10df4b..f565b12 100644 --- a/manuels/templates/manuels/add_supplies.html +++ b/manuels/templates/manuels/add_supplies.html @@ -11,7 +11,11 @@
- {% bootstrap_field form.levels %} + {% if form.levels %} + {% bootstrap_field form.levels %} + {% elif form.level %} + {% bootstrap_field form.level %} + {% endif %}