From 7af010d2f5f495665bc8f6ecafa10e0c2dd08463 Mon Sep 17 00:00:00 2001 From: gaazzopa Date: Tue, 10 Nov 2020 16:33:23 +0100 Subject: [PATCH] Added debug option in form --- cara/apps/calculator/templates/calculator.form.html.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cara/apps/calculator/templates/calculator.form.html.j2 b/cara/apps/calculator/templates/calculator.form.html.j2 index 0fee0598..b59b28c8 100644 --- a/cara/apps/calculator/templates/calculator.form.html.j2 +++ b/cara/apps/calculator/templates/calculator.form.html.j2 @@ -1,6 +1,7 @@ {% extends "layout.html.j2" %} {% set CALCULATOR_ACTIVE=1 %} +{% set DEBUG=False %} {% block extra_headers %} @@ -21,7 +22,11 @@ Beta v1.0.0 Please send feedback to CARA-dev@cern.ch

CARA Covid Airborne Risk Assessment tool

+{% if DEBUG %} +
+{% else %} +{% endif %}