From 0a06555b1e7c4855083600e8688d15a4f901cfea Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Fri, 16 May 2025 21:22:30 -0400 Subject: [PATCH] Add RSVP cutoff date note to RSVP edit form --- frontend/src/components/RSVPEditForm.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/components/RSVPEditForm.tsx b/frontend/src/components/RSVPEditForm.tsx index 28a2b1d..30158a1 100644 --- a/frontend/src/components/RSVPEditForm.tsx +++ b/frontend/src/components/RSVPEditForm.tsx @@ -401,6 +401,12 @@ const RSVPEditForm: React.FC = () => { Edit Your RSVP + {event?.rsvp_cutoff_date && ( + + Note: Submissions cannot be edited after {new Date(event.rsvp_cutoff_date).toLocaleString()} + + )} + {isEventClosed && ( Event registration is closed. Changes are not allowed. Please contact the event organizer for assistance.