Add Binary Check for Winter Values
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
326791b825
commit
01f6839ecb
@ -40,11 +40,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
TEST: {{data[0]['winter']}}
|
||||||
<div class="col-xs-4">
|
<div class="col-xs-4">
|
||||||
<label for="winter">Winter Tires:</label>
|
<label for="winter">Winter Tires:</label>
|
||||||
<select name="winter" class="form-control">
|
<select name="winter" class="form-control">
|
||||||
{% if data %}
|
{% if data %}
|
||||||
{% if data[0]['winter'] == "True" %}
|
{% if data[0]['winter'] == "1" or data[0]['winter'] == "True" %}
|
||||||
<option value="TRUE" selected>True</option>
|
<option value="TRUE" selected>True</option>
|
||||||
<option value="FALSE">False</option>
|
<option value="FALSE">False</option>
|
||||||
|
|
||||||
@ -102,11 +103,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
TEST: {{data[0]['winter']}}
|
||||||
<div class="col-xs-4">
|
<div class="col-xs-4">
|
||||||
<label for="winter">Winter Tires:</label>
|
<label for="winter">Winter Tires:</label>
|
||||||
<select name="winter" class="form-control">
|
<select name="winter" class="form-control">
|
||||||
{% if data %}
|
{% if data %}
|
||||||
{% if data[0]['winter'] == "True" %}
|
{% if data[0]['winter'] == "1" or data[0]['winter'] == "True" %}
|
||||||
<option value="TRUE" selected>True</option>
|
<option value="TRUE" selected>True</option>
|
||||||
<option value="FALSE">False</option>
|
<option value="FALSE">False</option>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user