25 lines
689 B
HTML
25 lines
689 B
HTML
<vn-watcher
|
|
vn-id="watcher"
|
|
data="$ctrl.worker.sip">
|
|
</vn-watcher>
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
|
<vn-card class="vn-pa-lg">
|
|
<vn-vertical>
|
|
<vn-horizontal>
|
|
<vn-textfield
|
|
label="Extension"
|
|
ng-model="$ctrl.worker.sip.extension">
|
|
</vn-textfield>
|
|
</vn-horizontal>
|
|
</vn-vertical>
|
|
</vn-card>
|
|
<vn-button-bar>
|
|
<vn-submit label="Save"></vn-submit>
|
|
<vn-button
|
|
label="Undo changes"
|
|
ng-if="form.$dirty"
|
|
ng-click="watcher.loadOriginalData()">
|
|
</vn-button>
|
|
</vn-button-bar>
|
|
</form>
|