adding part colour

This commit is contained in:
Ian Roddis committed 2026-07-02 12:34:33 -03:00
1 parent 422e217180
commit 2e7002b73b
14 files changed
+379 -2

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<tr id="part-colour-{{ pc.id }}">
<td>{{ pc.id }}</td>
<td>{{ pc.name }}</td>
<td class="row-actions">
<button class="btn btn-ghost"
hx-get="/admin/part-colours/{{ pc.id }}/edit"
hx-target="#part-colour-{{ pc.id }}"
hx-swap="outerHTML">Edit</button>
<button class="btn btn-danger"
hx-delete="/admin/part-colours/{{ pc.id }}"
hx-target="#part-colour-{{ pc.id }}"
hx-swap="outerHTML"
hx-confirm="Delete {{ pc.name }}?">Delete</button>
</td>
</tr>