clubmanager/templates/components/close_shift_button.rs.html

7 lines
161 B
HTML

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