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

@ -6,6 +6,9 @@
{% if page %}
<input type="hidden" name="page" value="{{ page }}">
{% endif %}
{% if id %}
<input type="hidden" name="id" value="{{ id }}">
{% endif %}
{# Button #}
<button class="link__button" type="button" hx-ws="send" hx-trigger="click">{{ text }}</button>
<a class="link__button" type="button" hx-ws="send" hx-trigger="click">{{ children }}</a>
</form>