Make the scouting web page actually submit data scouting data
This patch makes the web page send requests to
/requests/submit/data_scouting. Right now that request is not
implemented so we just get a 501, but that's okay. A future patch will
deal with that.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: Id58edb92e879ed4450fee76d5a1640196a125ef8
diff --git a/scouting/www/entry/entry.ng.html b/scouting/www/entry/entry.ng.html
index a1c248c..e52e6bc 100644
--- a/scouting/www/entry/entry.ng.html
+++ b/scouting/www/entry/entry.ng.html
@@ -209,6 +209,8 @@
<li>Defense Played Raing: {{defensePlayedScore}}</li>
</ul>
+ <div class="error_message">{{ errorMessage }}</div>
+
<div class="buttons">
<button class="btn btn-primary" (click)="prevSection()">Back</button>
<button class="btn btn-primary" (click)="nextSection()">Submit</button>