problems saving - try curl first

This commit is contained in:
2016-03-08 17:21:39 +01:00
parent 56799eaefe
commit 4113246222
5 changed files with 83 additions and 15 deletions
@@ -3,23 +3,24 @@
<div>
<form role="form" ng-submit="postTransaction()">
<div>
<input ng-model='amount' type='text' size='10' maxlength='10' />
Betrag: <input ng-model='amount' type='number' />
</div>
<div>
<select ng-model='categorySelection' size='1' ng-options="category.name for category in categories track by category._links.self.href">
Kategorie: <select ng-model='category' size='1'
ng-options="category.name for category in categories track by category._links.self.href">
</select>
</div>
<div>
<input ng-model='date' type='text' size='10' maxlength='10' />
Datum: <input ng-model='date' type='date' placeholder="yyyy-MM-dd" required />
</div>
<div>
<input ng-model='description' type='text' size='10' maxlength='10' />
Notiz: <input ng-model='description' type='text' size='10' />
</div>
<div>
<input type="submit"/>
<input type="submit" />
</div>
</form>
<table class="listing">
<tr>
<th>Datum</th>
@@ -35,6 +36,14 @@
</tr>
</table>
<div>
<pre style="font-size: 75%">{{account | json}}</pre>
</div>
<div>
<pre style="font-size: 75%">{{transactions | json}}</pre>
</div>
</div>
</div>
</div>