30 lines
775 B
HTML
30 lines
775 B
HTML
|
<vn-watcher
|
||
|
vn-id="watcher"
|
||
|
url="WorkerObservations"
|
||
|
id-field="id"
|
||
|
data="$ctrl.note"
|
||
|
insert-mode="true"
|
||
|
form="form">
|
||
|
</vn-watcher>
|
||
|
<form name="form" ng-submit="watcher.submitGo('worker.card.note.index')" class="vn-w-md">
|
||
|
<vn-card class="vn-pa-lg">
|
||
|
<vn-horizontal>
|
||
|
<vn-textarea
|
||
|
vn-one
|
||
|
label="Note"
|
||
|
ng-model="$ctrl.note.text"
|
||
|
vn-focus>
|
||
|
</vn-textarea>
|
||
|
</vn-horizontal>
|
||
|
</vn-card>
|
||
|
<vn-button-bar>
|
||
|
<vn-submit
|
||
|
ng-if="watcher.dataChanged()"
|
||
|
label="Save">
|
||
|
</vn-submit>
|
||
|
<vn-button
|
||
|
ng-click="$ctrl.cancel()"
|
||
|
label="Cancel">
|
||
|
</vn-button>
|
||
|
</vn-button-bar>
|
||
|
</form>
|