diff --git a/EduSync.exe b/EduSync.exe
index 98397e2..bf099b4 100644
Binary files a/EduSync.exe and b/EduSync.exe differ
diff --git a/templates/admin/create_instructor.html b/templates/admin/create_instructor.html
index b2afebb..7f3c997 100644
--- a/templates/admin/create_instructor.html
+++ b/templates/admin/create_instructor.html
@@ -38,8 +38,10 @@
window.location.href = '/admin/search_instructor';
}
- function goBack() {
- window.history.back();
+ function cancelInstructor() {
+ if (confirm('Confirm cancel?')) {
+ window.location.href = '/admin/search_instructor';
+ }
}
@@ -81,7 +83,7 @@
Create New Instructor
-
+
diff --git a/templates/admin/create_parent.html b/templates/admin/create_parent.html
index 3f9480b..59135a9 100644
--- a/templates/admin/create_parent.html
+++ b/templates/admin/create_parent.html
@@ -29,8 +29,10 @@
window.location.href = '/admin/search_parent';
}
- function goBack() {
- window.history.back();
+ function cancelParent() {
+ if (confirm('Confirm cancel?')) {
+ window.location.href = '/admin/search_parent';
+ }
}
@@ -68,7 +70,7 @@ Create New Parent
-
+
diff --git a/templates/admin/create_student.html b/templates/admin/create_student.html
index 435f3a0..20a01d2 100644
--- a/templates/admin/create_student.html
+++ b/templates/admin/create_student.html
@@ -40,8 +40,10 @@
window.location.href = '/admin/search_student';
}
- function goBack() {
- window.history.back();
+ function cancelStudent() {
+ if (confirm('Confirm cancel?')) {
+ window.location.href = '/admin/search_student';
+ }
}
@@ -94,7 +96,7 @@ Create New Student
-
+