40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
<mg-ajax path="Tickets/state" options="vnPost"></mg-ajax>
|
|
<vn-watcher
|
|
vn-id="watcher"
|
|
data="$ctrl.params"
|
|
form="form">
|
|
</vn-watcher>
|
|
<vn-crud-model
|
|
auto-load="true"
|
|
url="States"
|
|
data="states">
|
|
</vn-crud-model>
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
|
|
<vn-card class="vn-pa-lg">
|
|
<vn-horizontal>
|
|
<vn-autocomplete
|
|
vn-one
|
|
ng-model="$ctrl.stateFk"
|
|
data="states"
|
|
label="State"
|
|
vn-focus>
|
|
</vn-autocomplete>
|
|
<vn-worker-autocomplete
|
|
vn-one
|
|
ng-model="$ctrl.userFk">
|
|
</vn-worker-autocomplete>
|
|
</vn-horizontal>
|
|
</vn-card>
|
|
<vn-button-bar>
|
|
<vn-submit
|
|
disabled="!watcher.dataChanged()"
|
|
label="Save">
|
|
</vn-submit>
|
|
<vn-button
|
|
class="cancel"
|
|
label="Cancel"
|
|
ui-sref="ticket.card.tracking.index">
|
|
</vn-button>
|
|
</vn-button-bar>
|
|
</form>
|