34 lines
772 B
HTML
34 lines
772 B
HTML
|
<vn-watcher
|
||
|
vn-id="watcher"
|
||
|
url="Roles"
|
||
|
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
|
||
|
label="Name"
|
||
|
ng-model="$ctrl.role.name"
|
||
|
rule
|
||
|
vn-focus>
|
||
|
</vn-textfield>
|
||
|
<vn-textfield
|
||
|
label="Description"
|
||
|
ng-model="$ctrl.role.description"
|
||
|
rule>
|
||
|
</vn-textfield>
|
||
|
</vn-vertical>
|
||
|
</vn-card>
|
||
|
<vn-submit
|
||
|
icon="check"
|
||
|
vn-tooltip="Create"
|
||
|
class="round"
|
||
|
fixed-bottom-right>
|
||
|
</vn-submit>
|
||
|
</form>
|