Add clamp connection

This commit is contained in:
Ian Roddis committed 2026-07-02 13:35:58 -03:00
1 parent 0168b023af
commit 59184124e7
14 files changed
+452 -2

No files matched your search

@@ -0,0 +1,18 @@
<tr id="clamp-connection-{{ cc.id }}">
<td>{{ cc.id }}</td>
<td>{{ cc.min_mm if cc.min_mm is not none else '—' }}</td>
<td>{{ cc.max_mm if cc.max_mm is not none else '—' }}</td>
<td>{{ cc.min_in if cc.min_in is not none else '—' }}</td>
<td>{{ cc.max_in if cc.max_in is not none else '—' }}</td>
<td class="row-actions">
<button class="btn btn-ghost"
hx-get="/admin/clamp-connections/{{ cc.id }}/edit"
hx-target="#clamp-connection-{{ cc.id }}"
hx-swap="outerHTML">Edit</button>
<button class="btn btn-danger"
hx-delete="/admin/clamp-connections/{{ cc.id }}"
hx-target="#clamp-connection-{{ cc.id }}"
hx-swap="outerHTML"
hx-confirm="Delete clamp connection #{{ cc.id }}?">Delete</button>
</td>
</tr>