Merge pull request #2581 from ansible/jakemcdermott-patch-1

make first and last name optional
This commit is contained in:
Jake McDermott 2018-07-20 10:32:49 -04:00 committed by GitHub
commit bdd240f0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,14 +29,14 @@ export default ['i18n', function(i18n) {
label: i18n._('First Name'),
type: 'text',
ngDisabled: '!(user_obj.summary_fields.user_capabilities.edit || canAdd)',
required: true,
required: false,
capitalize: true
},
last_name: {
label: i18n._('Last Name'),
type: 'text',
ngDisabled: '!(user_obj.summary_fields.user_capabilities.edit || canAdd)',
required: true
required: false,
},
organization: {
label: i18n._('Organization'),