diff --git a/static/scripts/application.js b/static/scripts/application.js index 82f66a2..99b6677 100644 --- a/static/scripts/application.js +++ b/static/scripts/application.js @@ -22,12 +22,14 @@ function submitApplication(){ if(filled){ filled = false; unfilledElement = $(this).attr("id"); + console.log(unfilledElement); } } }) if (!filled){ alert("Please fill all fields!"); // scroll to first unfilled required field + console.log(unfilledElement) window.scrollTo(0, document.getElementById(unfilledElement).offsetTop - 200); return; } diff --git a/templates/login.html b/templates/login.html index b639006..e69de29 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,19 +0,0 @@ - - - - - - diff --git a/templates/navbar.html b/templates/navbar.html index 0607876..a51f8fc 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -32,5 +32,3 @@ Sources - -{% include 'login.html' %} \ No newline at end of file