Adding ability to autovivify an appropriate attachment point when manually entering a fit

This commit is contained in:
Ian Roddis committed 2026-07-31 08:59:34 -03:00
1 parent 92ca6b2a9f
commit 23d07505bd
3 files changed
+136 -6

No files matched your search

@@ -1,6 +1,13 @@
{% if points %}
<select name="other_attachment_point_id" required>
<option value="">— select —</option>
{% for p in points %}
<option value="{{ p.id }}">{{ p.attachment_point_name.name }}</option>
{% endfor %}
</select>
{% else %}
<input type="hidden" name="other_attachment_point_id" value="">
<p class="muted" style="font-size:0.85rem;margin:0">
This part has no attachment points yet — one matching yours will be created automatically.
</p>
{% endif %}