mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-18 06:59:43 +02:00
feat: ingress form in modal & delete relationship
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<div class="overflow-x-auto shadow rounded-box border border-base-content/5 bg-base-100">
|
||||
<div id="relationship_table_section"
|
||||
class="overflow-x-auto shadow rounded-box border border-base-content/5 bg-base-100">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -39,9 +40,9 @@
|
||||
|
||||
<td>{{ relationship.metadata.relationship_type }}</td>
|
||||
<td>
|
||||
<button class="btn btn-sm btn-outline" hx-get="/relationship/{{ relationship.id }}/edit"
|
||||
hx-target="#modal_container" hx-swap="innerHTML">
|
||||
Edit
|
||||
<button class="btn btn-sm btn-outline" hx-delete="/knowledge-relationship/{{ relationship.id }}"
|
||||
hx-target="#relationship_table_section" hx-swap="outerHTML">
|
||||
{% include "icons/delete_icon.html" %}
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user