scouting: Add "defense received" and "comments" to the database
This patch makes it so the webserver saves the "defense received" and
"comment" fields to the database.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I3a76518095f7b38360b5c43ae3a117215244c3da
diff --git a/scouting/www/entry/entry.ng.html b/scouting/www/entry/entry.ng.html
index bc49bc6..722da67 100644
--- a/scouting/www/entry/entry.ng.html
+++ b/scouting/www/entry/entry.ng.html
@@ -86,7 +86,7 @@
</form>
<div class="row">
<h4>Comments</h4>
- <textarea [(ngModel)]="comment"></textarea>
+ <textarea [(ngModel)]="comment" id="comment"></textarea>
</div>
<div class="buttons">
<button class="btn btn-primary" (click)="prevSection()">Back</button>
@@ -178,6 +178,7 @@
<h4>Climb</h4>
<ul>
<li>Level: {{level | levelToString}}</li>
+ <li>Comments: {{comment}}</li>
</ul>
<h4>Other</h4>