summaryrefslogtreecommitdiff
path: root/app/views/clusters/user/_show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/clusters/user/_show.html.haml')
-rw-r--r--app/views/clusters/user/_show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/clusters/user/_show.html.haml b/app/views/clusters/user/_show.html.haml
index 5b57f7ceb7d..57f6cd1f43d 100644
--- a/app/views/clusters/user/_show.html.haml
+++ b/app/views/clusters/user/_show.html.haml
@@ -1,5 +1,6 @@
-= form_for @cluster, url: namespace_project_cluster_path(@project.namespace, @project, @cluster), as: :cluster do |field|
+= form_for @cluster, url: cluster_path(@cluster), as: :cluster do |field|
= form_errors(@cluster)
+ = hidden_clusterable_fields
.form-group
= field.label :name, s_('ClusterIntegration|Kubernetes cluster name'), class: 'label-bold'
= field.text_field :name, class: 'form-control', placeholder: s_('ClusterIntegration|Kubernetes cluster name')