Add loading
This commit is contained in:
11
app/website/templates/components/link.html
Normal file
11
app/website/templates/components/link.html
Normal file
@ -0,0 +1,11 @@
|
||||
<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>
|
Reference in New Issue
Block a user