提交 e58473fa 编写于 作者: D Dennis Tang

use helper method instead of global

上级 ff87949b
......@@ -6,7 +6,7 @@
%p= link_to('Select a different Google account', @authorize_url)
= form_for @new_cluster, html: { class: 'js-gke-cluster-creation prepend-top-20', data: { token: @token_in_session } }, url: namespace_project_clusters_path(@project.namespace, @project, { type: 'new' }), as: :cluster do |field|
= form_for @new_cluster, html: { class: 'js-gke-cluster-creation prepend-top-20', data: { token: token_in_session } }, url: namespace_project_clusters_path(@project.namespace, @project, { type: 'new' }), as: :cluster do |field|
= form_errors(@new_cluster)
.form-group
= field.label :name, s_('ClusterIntegration|Kubernetes cluster name')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册