clubmanager/templates/components/close_shift_button.rs.html
2023-09-30 14:51:11 -07:00

7 lines
179 B
HTML

@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>