mirror of
https://github.com/ansible/awx.git
synced 2026-03-18 09:27:31 -02:30
Merge pull request #2581 from ansible/jakemcdermott-patch-1
make first and last name optional
This commit is contained in:
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user