salix/modules/account/front/role/basic-data/index.html

43 lines
1.0 KiB
HTML
Raw Normal View History

<vn-watcher
vn-id="watcher"
url="VnRoles"
data="$ctrl.role"
form="form">
</vn-watcher>
<form
name="form"
ng-submit="watcher.submit()"
2023-12-05 11:00:31 +00:00
class="vn-w-md">
<vn-card class="vn-pa-lg">
<vn-vertical>
<vn-textfield
label="Name"
ng-model="$ctrl.role.name"
rule
2023-12-05 11:00:31 +00:00
rule-alias="VnRole"
vn-focus>
</vn-textfield>
<vn-textfield
2023-12-05 11:00:31 +00:00
label="Description"
ng-model="$ctrl.role.description"
rule
rule-alias="VnRole"
>
</vn-textfield>
</vn-vertical>
</vn-card>
<vn-button-bar>
2020-12-16 10:36:11 +00:00
<vn-submit
disabled="!watcher.dataChanged()"
label="Save">
</vn-submit>
<vn-button
2020-12-16 10:36:11 +00:00
class="cancel"
label="Undo changes"
2020-12-16 10:36:11 +00:00
disabled="!watcher.dataChanged()"
ng-click="watcher.loadOriginalData()">
</vn-button>
</vn-button-bar>
</form>