mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 22:05:07 -02:30
fix a few minor CLI bugs
see: https://github.com/ansible/awx/issues/4608
This commit is contained in:
@@ -106,9 +106,8 @@ class Credential(PasswordFieldsModel, CommonModelNameNotUnique, ResourceMixin):
|
||||
inputs = CredentialInputField(
|
||||
blank=True,
|
||||
default=dict,
|
||||
help_text=_('Enter inputs using either JSON or YAML syntax. Use the '
|
||||
'radio button to toggle between the two. Refer to the '
|
||||
'Ansible Tower documentation for example syntax.')
|
||||
help_text=_('Enter inputs using either JSON or YAML syntax. '
|
||||
'Refer to the Ansible Tower documentation for example syntax.')
|
||||
)
|
||||
admin_role = ImplicitRoleField(
|
||||
parent_role=[
|
||||
@@ -344,16 +343,14 @@ class CredentialType(CommonModelNameNotUnique):
|
||||
inputs = CredentialTypeInputField(
|
||||
blank=True,
|
||||
default=dict,
|
||||
help_text=_('Enter inputs using either JSON or YAML syntax. Use the '
|
||||
'radio button to toggle between the two. Refer to the '
|
||||
'Ansible Tower documentation for example syntax.')
|
||||
help_text=_('Enter inputs using either JSON or YAML syntax. '
|
||||
'Refer to the Ansible Tower documentation for example syntax.')
|
||||
)
|
||||
injectors = CredentialTypeInjectorField(
|
||||
blank=True,
|
||||
default=dict,
|
||||
help_text=_('Enter injectors using either JSON or YAML syntax. Use the '
|
||||
'radio button to toggle between the two. Refer to the '
|
||||
'Ansible Tower documentation for example syntax.')
|
||||
help_text=_('Enter injectors using either JSON or YAML syntax. '
|
||||
'Refer to the Ansible Tower documentation for example syntax.')
|
||||
)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user