29 lines
837 B
HTML
29 lines
837 B
HTML
|
<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>
|
||
|
<vn-textfield
|
||
|
vn-one
|
||
|
label="Extension"
|
||
|
model="$ctrl.worker.sip.extension">
|
||
|
</vn-textfield>
|
||
|
<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>
|