Add storage location field to bulk add form
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user