adding part colour
This commit is contained in:
1 parent
422e217180
commit
2e7002b73b
14 files changed
+379
-2
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user