2019-03-08 08:41:53 +00:00
|
|
|
<mg-ajax path="/api/Sips/{{patch.params.id}}" options="vnPatch"></mg-ajax>
|
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
|
|
|
data="$ctrl.worker.sip"
|
|
|
|
form="form"
|
|
|
|
save="patch">
|
|
|
|
</vn-watcher>
|
|
|
|
<form name="form" ng-submit="watcher.submit()" compact>
|
|
|
|
<vn-card pad-large>
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-horizontal>
|
2019-03-26 06:29:45 +00:00
|
|
|
<vn-input-number vn-one min="1" step="1"
|
2019-03-08 08:41:53 +00:00
|
|
|
label="Extension"
|
|
|
|
model="$ctrl.worker.sip.extension">
|
2019-03-26 06:29:45 +00:00
|
|
|
</vn-input-number>
|
2019-03-08 08:41:53 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Password"
|
|
|
|
model="$ctrl.worker.sip.secret">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
|
|
|
<vn-submit label="Save"></vn-submit>
|
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|