diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-11-02 10:38:17 +1300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-02 10:40:56 +1300 |
commit | 2c6a3f6a1a90fb4eb780e081a6673fd2e90c7dc1 (patch) | |
tree | ad043bd526b2ba71bcba7038a91f71763f581dfd /app/views/clusters/clusters/user/_form.html.haml | |
parent | 3e7d48317353b8e0ffb066643eb4ced2e9455aec (diff) | |
download | gitlab-ce-2c6a3f6a1a90fb4eb780e081a6673fd2e90c7dc1.tar.gz |
Remove method as using nested resource routes
We introduced hidden_clusterable_fields in this MR but it is no longer
needed as we have gone back to nested resource routes which should
provide the params such as `project_id`.
Diffstat (limited to 'app/views/clusters/clusters/user/_form.html.haml')
-rw-r--r-- | app/views/clusters/clusters/user/_form.html.haml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/clusters/clusters/user/_form.html.haml b/app/views/clusters/clusters/user/_form.html.haml index 43c15274180..4e6232b69de 100644 --- a/app/views/clusters/clusters/user/_form.html.haml +++ b/app/views/clusters/clusters/user/_form.html.haml @@ -1,6 +1,5 @@ = form_for @user_cluster, url: clusterable.create_user_clusters_path, as: :cluster do |field| = form_errors(@user_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') |