14 lines
489 B
HTML
14 lines
489 B
HTML
<form class="link">
|
|
{# Primary data #}
|
|
<input type="hidden" name="action" value="{{ action }}">
|
|
<input type="hidden" name="value" value="{{ value }}">
|
|
{# Secondary data #}
|
|
{% if page %}
|
|
<input type="hidden" name="page" value="{{ page }}">
|
|
{% endif %}
|
|
{% if id %}
|
|
<input type="hidden" name="id" value="{{ id }}">
|
|
{% endif %}
|
|
{# Button #}
|
|
<a class="link__button" type="button" hx-ws="send" hx-trigger="click">{{ children }}</a>
|
|
</form> |