Files
fitguide/app/templates/admin/_fit_other_points_select.html
T

14 lines
516 B
HTML

{% if points %}
<select name="other_attachment_point_id" form="{{ form_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="" form="{{ form_id }}">
<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 %}