Compare commits
4 commits
1cc4a67b04
...
f894373861
Author | SHA1 | Date | |
---|---|---|---|
f894373861 | |||
ffeff8a51b | |||
67be18f228 | |||
91655b22ed |
1 changed files with 18 additions and 20 deletions
|
@ -1,25 +1,23 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<HtmxPage>
|
<div class="form-wrapper">
|
||||||
<div class="form-wrapper">
|
<div class="column-container">
|
||||||
<div class="column-container">
|
<ul>
|
||||||
<ul>
|
{% for key in record_keys %}
|
||||||
{% for key in record_keys %}
|
<li class="link-wrapper">
|
||||||
<li class="link-wrapper">
|
<a href="/link/{{ key }}">{{ key }}</a>
|
||||||
<a href="/link/{{ key }}">{{ key }}</a>
|
<button
|
||||||
<button
|
style="margin-left: 1em;"
|
||||||
style="margin-left: 1em;"
|
hx-target="closest .link-wrapper"
|
||||||
hx-target="closest .link-wrapper"
|
hx-swap="outerHTML"
|
||||||
hx-swap="outerHTML"
|
hx-delete="/link/{{ key }}"
|
||||||
hx-delete="/link/{{ key }}"
|
>
|
||||||
>
|
"X"
|
||||||
"X"
|
</button>
|
||||||
</button>
|
</li>
|
||||||
</li>
|
{% endfor %}
|
||||||
{% endfor %}
|
</ul>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</HtmxPage>
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in a new issue