Started xosForm docs
diff --git a/views/ngXosViews/sampleView/env/default.js b/views/ngXosViews/sampleView/env/default.js
index 40d6f99..00512d7 100644
--- a/views/ngXosViews/sampleView/env/default.js
+++ b/views/ngXosViews/sampleView/env/default.js
@@ -8,6 +8,6 @@
module.exports = {
host: 'http://xos.dev:9999/',
- xoscsrftoken: 'WNQMpHGMRQQ2OKCthe4Dn1jahGRAkPhA',
- xossessionid: '7jjj6iogkyyrvdks93dhlk6mr311kl2l'
+ xoscsrftoken: '9vrMWJNfhfV8DcpOsJ7s8RQNIKV94xHP',
+ xossessionid: 'nn3tfg7j55hnvx67jgfvvo8cwnqvgex3'
};
diff --git a/views/ngXosViews/sampleView/src/js/main.js b/views/ngXosViews/sampleView/src/js/main.js
index 6f4d045..f8473b6 100644
--- a/views/ngXosViews/sampleView/src/js/main.js
+++ b/views/ngXosViews/sampleView/src/js/main.js
@@ -65,10 +65,8 @@
this.formConfig = {
exclude: ['password'],
+ formName: 'myForm',
fields: {
- last_login: {
- type: 'date'
- }
},
actions: [
{
diff --git a/views/ngXosViews/sampleView/src/templates/users-list.tpl.html b/views/ngXosViews/sampleView/src/templates/users-list.tpl.html
index f79f9ba..17ad68f 100644
--- a/views/ngXosViews/sampleView/src/templates/users-list.tpl.html
+++ b/views/ngXosViews/sampleView/src/templates/users-list.tpl.html
@@ -7,7 +7,7 @@
<div class="row">
<div class="col-xs-12">
- <!-- <xos-form ng-model="vm.users[0]" config="vm.formConfig"></xos-form> -->
+ <xos-form ng-model="vm.users[0]" config="vm.formConfig"></xos-form>
</div>
</div>