Expand textarea for CA cert in cluster form
The current default is too small for a user to see what they have pasted in.
This commit is contained in:
parent
6d033c669b
commit
237de5c728
|
@ -25,6 +25,7 @@
|
||||||
help: '%{help_text} %{help_link}'.html_safe % { help_text: api_url_help_text, help_link: more_info_link }
|
help: '%{help_text} %{help_link}'.html_safe % { help_text: api_url_help_text, help_link: more_info_link }
|
||||||
|
|
||||||
= platform_kubernetes_field.text_area :ca_cert,
|
= platform_kubernetes_field.text_area :ca_cert,
|
||||||
|
rows: '10',
|
||||||
placeholder: s_('ClusterIntegration|Certificate Authority bundle (PEM format)'),
|
placeholder: s_('ClusterIntegration|Certificate Authority bundle (PEM format)'),
|
||||||
label: s_('ClusterIntegration|CA Certificate'), label_class: 'label-bold',
|
label: s_('ClusterIntegration|CA Certificate'), label_class: 'label-bold',
|
||||||
help: '%{help_text} %{help_link}'.html_safe % { help_text: ca_cert_help_text, help_link: more_info_link }
|
help: '%{help_text} %{help_link}'.html_safe % { help_text: ca_cert_help_text, help_link: more_info_link }
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
- copy_ca_cert_btn = clipboard_button(text: platform.ca_cert, title: s_('ClusterIntegration|Copy CA Certificate'),
|
- copy_ca_cert_btn = clipboard_button(text: platform.ca_cert, title: s_('ClusterIntegration|Copy CA Certificate'),
|
||||||
class: 'input-group-text btn-default') if cluster.read_only_kubernetes_platform_fields?
|
class: 'input-group-text btn-default') if cluster.read_only_kubernetes_platform_fields?
|
||||||
= platform_field.text_area :ca_cert, class: 'js-select-on-focus', rows: '5',
|
= platform_field.text_area :ca_cert, class: 'js-select-on-focus', rows: '10',
|
||||||
readonly: cluster.read_only_kubernetes_platform_fields?,
|
readonly: cluster.read_only_kubernetes_platform_fields?,
|
||||||
placeholder: s_('ClusterIntegration|Certificate Authority bundle (PEM format)'),
|
placeholder: s_('ClusterIntegration|Certificate Authority bundle (PEM format)'),
|
||||||
label: s_('ClusterIntegration|CA Certificate'), label_class: 'label-bold',
|
label: s_('ClusterIntegration|CA Certificate'), label_class: 'label-bold',
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Expand textarea for CA cert in cluster form
|
||||||
|
merge_request: 32508
|
||||||
|
author:
|
||||||
|
type: fixed
|
Loading…
Reference in New Issue