diff --git a/src/components/UsersForm.vue b/src/components/UsersForm.vue index c68af37c..32de2a11 100644 --- a/src/components/UsersForm.vue +++ b/src/components/UsersForm.vue @@ -30,13 +30,26 @@
+ >{{ memberMetadata.fields.firstName.label }} +
+ +
+ +
diff --git a/src/pages/Profile.vue b/src/pages/Profile.vue index ce40d2d7..9299a738 100644 --- a/src/pages/Profile.vue +++ b/src/pages/Profile.vue @@ -42,32 +42,35 @@
+ >{{ casMemberMetadata.fields.firstName.label }} +
+ >{{ casMemberMetadata.fields.lastName.label }}
@@ -127,8 +130,8 @@ export default { validations () { return { member: { - title: this.casMemberMetadata.fields.title.createValidator(), - name: this.casMemberMetadata.fields.name.createValidator(), + firstName: this.casMemberMetadata.fields.firstName.createValidator(), + lastName: this.casMemberMetadata.fields.lastName.createValidator(), email: this.casMemberMetadata.fields.email.createValidator() } } diff --git a/src/pages/Users.vue b/src/pages/Users.vue index e00b5001..d9108bba 100644 --- a/src/pages/Users.vue +++ b/src/pages/Users.vue @@ -47,7 +47,8 @@ > {{ user.title }} - {{ user.name ? user.name : '-' }} + {{ user.firstName ? user.firstName : '-' }} + {{ user.lastName ? user.lastName : '-' }} {{ user.email }}