mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 17:51:06 -03:30
sprinkle some more i18n love for the credential form
see: https://github.com/ansible/tower/issues/2731
This commit is contained in:
@@ -2497,6 +2497,12 @@ class V2CredentialFields(BaseSerializer):
|
||||
model = Credential
|
||||
fields = ('*', 'credential_type', 'inputs')
|
||||
|
||||
extra_kwargs = {
|
||||
'credential_type': {
|
||||
'label': _('Credential Type'),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
class CredentialSerializer(BaseSerializer):
|
||||
show_capabilities = ['edit', 'delete', 'copy']
|
||||
|
||||
Reference in New Issue
Block a user