Add storage location field to bulk add form

This commit is contained in:
2026-04-12 15:31:23 -05:00
parent 70abcfd0ac
commit a806a5b19a
2 changed files with 28 additions and 7 deletions
+14
View File
@@ -68,6 +68,20 @@
</div>
<div class="form-group">
<label>Storage Location</label>
<select id="storage-select" onchange="metaSelectChanged(this,'storage_location')">
<option value="">— none —</option>
{% for loc in storage_locations|default([]) %}
<option value="{{ loc }}">{{ loc }}</option>
{% endfor %}
<option value="__new__"> New location…</option>
</select>
<input type="text" id="storage_location" name="storage_location" value=""
placeholder="e.g. Drawer 2, Toolbox, Shelf A"
style="display:none;margin-top:0.4rem;">
</div>
<div class="form-group">
<label for="notes">Notes</label>
<textarea id="notes" name="notes"