[BUGFIX] relationship destination and distance

This commit is contained in:
Marie Birner 2023-10-31 21:04:38 +01:00
parent dc4eddc044
commit 8a3cd8d688

View File

@ -49,7 +49,7 @@
<label for="destination" class="text-sm text-gray-600">Ziel</label> <label for="destination" class="text-sm text-gray-600">Ziel</label>
<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 %}<option value="{{ distance.0 }}" distance={{ distance.1 }}/> {% for distance in distances %}<option value="{{ distance.0 }}" distance="{{ distance.1 }}" />
{% endfor %} {% endfor %}
</datalist> </datalist>
</div> </div>