30 lines
762 B
HTML
30 lines
762 B
HTML
<vn-watcher
|
|
vn-id="watcher"
|
|
url="Shelvings"
|
|
data="$ctrl.shelving"
|
|
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="Code"
|
|
ng-model="$ctrl.shelving.id"
|
|
rule
|
|
vn-focus>
|
|
</vn-textfield>
|
|
</vn-vertical>
|
|
</vn-card>
|
|
<vn-button-bar>
|
|
<vn-submit
|
|
disabled="!watcher.dataChanged()"
|
|
label="Create">
|
|
</vn-submit>
|
|
<vn-button
|
|
class="cancel"
|
|
label="Cancel"
|
|
ui-sref="shelving.index">
|
|
</vn-button>
|
|
</vn-button-bar>
|
|
</form> |