diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index bd48abc..ae52769 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -65,8 +65,7 @@
Select a site first.
+ :options="tutorOptions">
@@ -144,10 +143,12 @@
console.log("submit");
e.preventDefault();
e.stopPropagation();
- let form = document.getElementById("submission-form");
- if (form.checkValidity()) {
+ var form = document.getElementById("submission-form");
+ if (form.checkValidity() && this.tutors.length > 0) {
+ console.log("valid");
this.$router.push("/observation");
}
+ form.classList.add("was-validated");
}
}
};
diff --git a/frontend/src/views/Observation.vue b/frontend/src/views/Observation.vue
index 6e9479b..b8b135d 100644
--- a/frontend/src/views/Observation.vue
+++ b/frontend/src/views/Observation.vue
@@ -1,272 +1,304 @@
-
-
- {{type}}/{{description}}
-