salix/modules/worker/front/basic-data/index.html

37 lines
1017 B
HTML
Raw Normal View History

2019-01-28 15:24:45 +00:00
<vn-watcher
vn-id="watcher"
data="$ctrl.worker"
form="form"
2019-01-30 12:32:25 +00:00
id-field="id"
url="api/Workers"
save="post">
2019-01-28 15:24:45 +00:00
</vn-watcher>
2019-02-08 16:49:51 +00:00
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
2019-01-28 15:24:45 +00:00
<vn-card pad-large>
2019-01-30 12:32:25 +00:00
<vn-vertical>
<vn-horizontal>
<vn-textfield
2019-02-08 16:49:51 +00:00
vn-one
2019-01-30 12:32:25 +00:00
label="Name"
field="$ctrl.worker.firstName">
</vn-textfield>
<vn-textfield
vn-one
label="Last name"
field="$ctrl.worker.lastName">
2019-01-30 12:32:25 +00:00
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Phone"
field="$ctrl.worker.phone">
</vn-textfield>
</vn-horizontal>
</vn-vertical>
2019-01-28 15:24:45 +00:00
</vn-card>
<vn-button-bar>
<vn-submit label="Save"></vn-submit>
</vn-button-bar>
</form>