[BUGFIX] km issue relation destination

This commit is contained in:
Marie Birner 2023-09-28 12:21:35 +02:00
parent 617b747942
commit 82edb23f30

View File

@ -76,7 +76,7 @@
<input class="input rounded-md set-distance-js" type="search" list="destinations" placeholder="Destination" id="destination" name="destination" value="" data-relation="distance_in_km"/> <input class="input rounded-md set-distance-js" type="search" list="destinations" placeholder="Destination" id="destination" name="destination" value="" data-relation="distance_in_km"/>
<datalist id="destinations"> <datalist id="destinations">
{% for distance in distances %} {% for distance in distances %}
<option value="{{ distance.0 }}" distance={{ distance.1 }}/> <option value="{{ distance.0 }}" distance={{ distance.1 }} />
{% endfor %} {% endfor %}
</datalist> </datalist>
</div> </div>