@use cm_lib::models::Shift;
@(open_shift: &Shift)
<button hx-post="/api/shifts/@open_shift.id/close" hx-swap="outerHTML" hx-target="body" type="button">
Close Shift
</button>