2017-02-21 15:21:55 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
|
|
|
url="/client/api/ClientObservations"
|
|
|
|
id-field="id"
|
2017-06-03 11:01:47 +00:00
|
|
|
data="$ctrl.note"
|
2018-02-08 12:28:01 +00:00
|
|
|
save="post"
|
2017-02-21 15:21:55 +00:00
|
|
|
form="form">
|
|
|
|
</vn-watcher>
|
2018-12-14 11:56:21 +00:00
|
|
|
<form name="form" ng-submit="watcher.submitGo('client.card.note.index')" compact>
|
2018-03-01 22:38:14 +00:00
|
|
|
<vn-card pad-large>
|
|
|
|
<vn-title>New note</vn-title>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textarea
|
|
|
|
vn-one
|
|
|
|
label="Note"
|
|
|
|
model="$ctrl.note.text"
|
|
|
|
vn-focus
|
|
|
|
padd-medium-top>
|
|
|
|
</vn-textarea>
|
|
|
|
</vn-horizontal>
|
2017-01-31 13:13:06 +00:00
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
2017-06-07 06:39:40 +00:00
|
|
|
<vn-submit label="Save"></vn-submit>
|
2018-10-17 07:28:38 +00:00
|
|
|
<vn-button ng-click="$ctrl.cancel()" label="Cancel"></vn-button>
|
2017-01-31 13:13:06 +00:00
|
|
|
</vn-button-bar>
|
2017-02-21 15:21:55 +00:00
|
|
|
</form>
|