summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-10-30 03:48:45 +0900
committerShinya Maeda <shinya@gitlab.com>2017-10-30 03:48:45 +0900
commit478e59fe8d82b99800a2613aa4d153bf692fbd6b (patch)
tree5f734aee006c7cfee86c8151e3b6f94846b15299 /app/views
parentd0cff7f5855f91b5479f9fdaa39d8d95ec691a9e (diff)
downloadgitlab-ce-478e59fe8d82b99800a2613aa4d153bf692fbd6b.tar.gz
specs for models. Improved details.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/clusters/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/clusters/_form.html.haml b/app/views/projects/clusters/_form.html.haml
index b3020513abf..6b9f63b7515 100644
--- a/app/views/projects/clusters/_form.html.haml
+++ b/app/views/projects/clusters/_form.html.haml
@@ -35,7 +35,7 @@
= field.fields_for :platform_kubernetes, @cluster.platform_kubernetes do |platform_kubernetes_field|
.form-group
= platform_kubernetes_field.label :namespace, s_('ClusterIntegration|Project namespace (optional, unique)')
- = platform_kubernetes_field.text_field :namespace, class: 'form-control', placeholder: @cluster.platform_kubernetes.default_namespace(@project)
+ = platform_kubernetes_field.text_field :namespace, class: 'form-control', placeholder: Clusters::Platforms::Kubernetes.namespace_for_project(@project)
.form-group
= field.submit s_('ClusterIntegration|Create cluster'), class: 'btn btn-save'