rcpch / national-paediatric-diabetes-audit

A django application to audit the care of children and young people with diabetes in England and Wales.
0 stars 1 forks source link

spinners to view preference buttons #96

Closed eatyourpeas closed 3 weeks ago

eatyourpeas commented 3 weeks ago

The buttons in the patient listview table make htmx get and post requests to the class, returning the updated PDU/organisation objects to populate the partials. The API calls are a little slow, so we need spinners within the buttons next to the text to show when the ajax requests are in flight and hide on completion.

An example of this working in E12 his here