2020-03-09 08:00:03 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
2023-11-30 11:20:05 +00:00
|
|
|
url="VnRoles"
|
2020-03-09 08:00:03 +00:00
|
|
|
data="$ctrl.role"
|
|
|
|
insert-mode="true"
|
|
|
|
form="form">
|
|
|
|
</vn-watcher>
|
|
|
|
<form
|
|
|
|
name="form"
|
|
|
|
vn-http-submit="$ctrl.onSubmit()"
|
|
|
|
class="vn-w-md">
|
|
|
|
<vn-card class="vn-pa-lg">
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-textfield
|
2023-11-30 11:20:05 +00:00
|
|
|
label="Name"
|
2023-12-05 11:00:31 +00:00
|
|
|
ng-model="$ctrl.VnRole.name"
|
2020-03-09 08:00:03 +00:00
|
|
|
rule
|
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
2023-11-30 11:20:05 +00:00
|
|
|
label="Description"
|
2023-12-05 11:00:31 +00:00
|
|
|
ng-model="$ctrl.VnRole.description"
|
2020-03-09 08:00:03 +00:00
|
|
|
rule>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-card>
|
2020-12-16 10:07:06 +00:00
|
|
|
<vn-button-bar>
|
|
|
|
<vn-submit
|
|
|
|
disabled="!watcher.dataChanged()"
|
|
|
|
label="Create">
|
|
|
|
</vn-submit>
|
|
|
|
<vn-button
|
|
|
|
class="cancel"
|
|
|
|
label="Cancel"
|
|
|
|
ui-sref="account.role">
|
|
|
|
</vn-button>
|
|
|
|
</vn-button-bar>
|
2020-03-09 08:00:03 +00:00
|
|
|
</form>
|