mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Merge pull request #2732 from ryanpetrello/fix-2731
sprinkle some more i18n love for the credential form
This commit is contained in:
commit
0f66de2de9
@ -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…
Reference in New Issue
Block a user