nyazoom/templates/linklist.html

24 lines
575 B
HTML
Raw Normal View History

2024-11-14 15:33:36 +00:00
{% extends "base.html" %}
{% block content %}
<div class="form-wrapper">
<div class="column-container">
<ul>
{% for key in record_keys %}
<li class="link-wrapper">
<a href="/link/{{ key }}">{{ key }}</a>
<button
style="margin-left: 1em;"
hx-target="closest .link-wrapper"
hx-swap="outerHTML"
hx-delete="/link/{{ key }}"
>
2024-11-14 15:57:42 +00:00
X
2024-11-14 15:33:36 +00:00
</button>
</li>
{% endfor %}
</ul>
</div>
</div>
{% endblock content %}