Added debug option in form
This commit is contained in:
parent
5e26e0196e
commit
7af010d2f5
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "layout.html.j2" %}
|
||||
|
||||
{% set CALCULATOR_ACTIVE=1 %}
|
||||
{% set DEBUG=False %}
|
||||
|
||||
{% block extra_headers %}
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" integrity="sha512-aOG0c6nPNzGk+5zjwyJaoRUgCdOrfSDhmMID2u4+OIslr0GjpLKo7Xm0Ao3xmpM4T8AmIouRkqwj1nrdVsLKEQ==" crossorigin="anonymous">
|
||||
|
|
@ -21,7 +22,11 @@
|
|||
Beta v1.0.0 <span style="float:right; font-weight:bold">Please send feedback to <a href="mailto:CARA-dev@cern.ch">CARA-dev@cern.ch</a></span>
|
||||
<h1> <p><b>CARA</b> Covid Airborne Risk Assessment tool</p></h1>
|
||||
|
||||
{% if DEBUG %}
|
||||
<form id="covid_calculator" name="covid_calculator" onsubmit="return debug_submit(this)">
|
||||
{% else %}
|
||||
<form id="covid_calculator" name="covid_calculator" action="/calculator/report" onsubmit="return validate_form(this)" method="POST">
|
||||
{% endif %}
|
||||
|
||||
<div style="width: 33%; float:left;">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue