diff --git a/components/calendar/form/DeleteEvent.vue b/components/calendar/form/DeleteEvent.vue index 3fcfcdd..0892603 100644 --- a/components/calendar/form/DeleteEvent.vue +++ b/components/calendar/form/DeleteEvent.vue @@ -17,7 +17,7 @@ watch(isDeleteEventModalOpen, (hasOpened, _o) => { } }) -async function handleSubmit() { +async function handleAction() { try { await deleteEventFromSkeleton() @@ -46,21 +46,24 @@ async function handleSubmit() { Les données associés à cet évènement seront supprimées et vous ne pourrez plus les récupérer ! -
+
{{ formErrors.message }}
- -
- - Supprimer - -
+ + + + Annuler + + + Supprimer + + diff --git a/components/calendar/form/UpdateEvent.vue b/components/calendar/form/UpdateEvent.vue index 0bf23da..03f3f7d 100644 --- a/components/calendar/form/UpdateEvent.vue +++ b/components/calendar/form/UpdateEvent.vue @@ -20,7 +20,7 @@ watch(isEditEventModalOpen, (hasOpened, _o) => { } }) -async function handleSubmit() { +async function handleAction() { try { await updateEventFromSkeleton() @@ -51,7 +51,7 @@ async function handleSubmit() { -
+
- -
- - Annuler - - - Sauvegarder - -
+ + + Annuler + + + Sauvegarder + +