diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2016-01-20 18:48:43 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2016-01-20 19:17:47 +0200 |
| commit | 09b2d3ba6bd282982b609ff84410e2bb0e2f9d49 (patch) | |
| tree | eb06d5f1cf7ea9d3188135fdc35f5b01f2e09fea /f/templates | |
| parent | a9c558fba0a839e45597dcf4bda225a857467295 (diff) | |
Add error message if the input is not sane
Diffstat (limited to 'f/templates')
| -rw-r--r-- | f/templates/index.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/f/templates/index.html b/f/templates/index.html index 81e2b7c..488f6b9 100644 --- a/f/templates/index.html +++ b/f/templates/index.html @@ -42,6 +42,10 @@ <a href="#" class="addButton" ng-click="submit();">Lisää</a> + <div ng-if='error_message != ""' id="add-error"> + {{error_message}} + </div> + <div ng-repeat="person in que"> <div ng-if="person.uid == uid" ng-click="querm(person.qid);"> <a href="#" class="removeButton">Poista {{person.name}}</a> |
