Fetching containers instead of locations. Fixed query and relative script for get_part_info

This commit is contained in:
2018-11-11 20:27:43 +01:00
parent d31799b3aa
commit 3788060c78
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -45,8 +45,8 @@
<tr id="location-head"><td>LOCATION</td></tr>
<tr id="location"><td><p></p>
<select class="pinfo-input" onchange="update_map()">
{% for location in locations %}
<option value="{{location['id']}}">{{location['name']}}</option>
{% for container in containers %}
<option value="{{container['id']}}">{{container['name']}}</option>
{% endfor %}
</select>
</td></tr>