salix/modules/client/front/note/create/index.html

26 lines
737 B
HTML

<vn-watcher
vn-id="watcher"
url="/client/api/ClientObservations"
id-field="id"
data="$ctrl.note"
save="post"
form="form">
</vn-watcher>
<form name="form" ng-submit="watcher.submitGo('client.card.note.index')" compact>
<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>
</vn-card>
<vn-button-bar>
<vn-submit label="Save"></vn-submit>
<vn-button ng-click="$ctrl.cancel()" label="Cancel"></vn-button>
</vn-button-bar>
</form>