1
0
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:
Ryan Petrello 2018-07-31 22:43:31 -04:00 committed by GitHub
commit 0f66de2de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']