Disable action button while the action runs

This commit is contained in:
Tim Van Baak 2025-01-29 19:34:55 -08:00
parent 7477504508
commit 3519517b96

View File

@ -18,6 +18,7 @@
title="{{ $key }}" title="{{ $key }}"
hx-target="closest article" hx-target="closest article"
hx-select="article" hx-select="article"
hx-disabled-elt="this"
hx-post="/item/{{ $.Source }}/{{ $.Id }}/action/{{ $key }}" hx-post="/item/{{ $.Source }}/{{ $.Id }}/action/{{ $key }}"
>{{ $key }}</button> >{{ $key }}</button>
{{ end -}} {{ end -}}