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

View File

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