mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
sprinkle some more i18n love for the credential form
see: https://github.com/ansible/tower/issues/2731
This commit is contained in:
parent
ed79a7fc12
commit
0a400ca339
@ -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']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user