Add Binary Check for Winter Values
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Ahosking 2023-12-03 16:35:42 -05:00
parent 326791b825
commit 01f6839ecb

View File

@ -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>