Add RSVP cutoff date note to RSVP edit form
This commit is contained in:
@@ -401,6 +401,12 @@ const RSVPEditForm: React.FC = () => {
|
|||||||
Edit Your RSVP
|
Edit Your RSVP
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
|
{event?.rsvp_cutoff_date && (
|
||||||
|
<Typography variant="body2" color="text.secondary" align="center" sx={{ mb: 2 }}>
|
||||||
|
<strong>Note:</strong> Submissions cannot be edited after {new Date(event.rsvp_cutoff_date).toLocaleString()}
|
||||||
|
</Typography>
|
||||||
|
)}
|
||||||
|
|
||||||
{isEventClosed && (
|
{isEventClosed && (
|
||||||
<Typography color="error" align="center" sx={{ mb: 2 }}>
|
<Typography color="error" align="center" sx={{ mb: 2 }}>
|
||||||
Event registration is closed. Changes are not allowed. Please contact the event organizer for assistance.
|
Event registration is closed. Changes are not allowed. Please contact the event organizer for assistance.
|
||||||
|
|||||||
Reference in New Issue
Block a user