From 6b3ccee58f42ca307164123f6e34935f90f5264f Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 4 Mar 2022 13:51:05 +0100 Subject: [PATCH] #2890 Go back to lot detail when cancel lot edit --- ereuse_devicehub/templates/inventory/lot.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/templates/inventory/lot.html b/ereuse_devicehub/templates/inventory/lot.html index 3d0d78d2..1bf3c58c 100644 --- a/ereuse_devicehub/templates/inventory/lot.html +++ b/ereuse_devicehub/templates/inventory/lot.html @@ -43,7 +43,11 @@
- Cancel + {% if form.id %} + Cancel + {% else %} + Cancel + {% endif %}