11 lines
372 B
HTML
11 lines
372 B
HTML
<form>
|
|
{# 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 %}
|
|
{# Button #}
|
|
<button type="button" hx-ws="send" hx-trigger="click">{{ text }}</button>
|
|
</form> |