Update link component

This commit is contained in:
Andros Fenollosa
2021-11-21 09:34:54 +01:00
parent 528b623acd
commit 9845ba5c51
8 changed files with 29 additions and 22 deletions

View File

@@ -23,10 +23,7 @@
{% if talks %}
{% for talk in talks %}
<form>
<input type="hidden" name="action" value="page">
<input type="hidden" name="value" value="single-talk">
<input type="hidden" name="id" value="{{ talk.id }}">
<a href="#" hx-ws="send" hx-trigger="click">
{% #link action="page" value="single-talk" id=talk.id %}
<article>
<header>
<div class="grid">
@@ -41,7 +38,7 @@
</p>
<footer>Author {{ talk.author.full_name }} - {{ talk.category.name }}</footer>
</article>
</a>
{% /link %}
</form>
{% endfor %}
{% else %}