2020-03-09 08:00:03 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
|
|
|
url="MailAliases"
|
|
|
|
data="$ctrl.alias"
|
|
|
|
form="form">
|
|
|
|
</vn-watcher>
|
|
|
|
<form
|
|
|
|
name="form"
|
|
|
|
ng-submit="watcher.submit()"
|
|
|
|
class="vn-w-md">
|
|
|
|
<vn-card class="vn-pa-lg">
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-textfield
|
|
|
|
label="Name"
|
|
|
|
ng-model="$ctrl.alias.alias"
|
|
|
|
rule="MailAlias"
|
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
label="Description"
|
|
|
|
ng-model="$ctrl.alias.description"
|
|
|
|
rule="MailAlias">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-check
|
|
|
|
label="Public"
|
|
|
|
ng-model="$ctrl.alias.isPublic"
|
|
|
|
rule="MailAlias">
|
|
|
|
</vn-check>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
2020-12-16 10:36:11 +00:00
|
|
|
<vn-submit
|
|
|
|
disabled="!watcher.dataChanged()"
|
|
|
|
label="Save">
|
|
|
|
</vn-submit>
|
2020-03-09 08:00:03 +00:00
|
|
|
<vn-button
|
2020-12-16 10:36:11 +00:00
|
|
|
class="cancel"
|
2020-03-09 08:00:03 +00:00
|
|
|
label="Undo changes"
|
2020-12-16 10:36:11 +00:00
|
|
|
disabled="!watcher.dataChanged()"
|
2020-03-09 08:00:03 +00:00
|
|
|
ng-click="watcher.loadOriginalData()">
|
|
|
|
</vn-button>
|
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|