summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorDennis Tang <dtang@gitlab.com>2018-05-06 17:40:48 +0200
committerDennis Tang <dtang@gitlab.com>2018-05-06 17:40:48 +0200
commit2ea263ea437b98ffb4d61cf9ceb63473c9e6212f (patch)
tree26d8022caf3a7a4636c8b813d8d7b9f7042606d4 /app/views/projects
parent28a45b02180370cce30aa2e4fe05babc59e3e23b (diff)
downloadgitlab-ce-2ea263ea437b98ffb4d61cf9ceb63473c9e6212f.tar.gz
refactoring!
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/clusters/gcp/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/clusters/gcp/_form.html.haml b/app/views/projects/clusters/gcp/_form.html.haml
index 9544089fbde..ab62735173f 100644
--- a/app/views/projects/clusters/gcp/_form.html.haml
+++ b/app/views/projects/clusters/gcp/_form.html.haml
@@ -4,7 +4,7 @@
- link_to_help_page = link_to(s_('ClusterIntegration|help page'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
= s_('ClusterIntegration|Read our %{link_to_help_page} on Kubernetes cluster integration.').html_safe % { link_to_help_page: link_to_help_page}
-= form_for @cluster, html: { class: 'prepend-top-20', data: { token: @token_in_session } }, url: gcp_namespace_project_clusters_path(@project.namespace, @project), as: :cluster do |field|
+= form_for @cluster, html: { class: 'js-gke-cluster-creation prepend-top-20', data: { token: @token_in_session } }, url: gcp_namespace_project_clusters_path(@project.namespace, @project), as: :cluster do |field|
= form_errors(@cluster)
.form-group
= field.label :name, s_('ClusterIntegration|Kubernetes cluster name')
@@ -51,4 +51,4 @@
= icon('chevron-down')
.form-group
- = field.submit s_('ClusterIntegration|Create Kubernetes cluster'), class: 'btn btn-success', disabled: true
+ = field.submit s_('ClusterIntegration|Create Kubernetes cluster'), class: 'js-gke-cluster-creation-submit btn btn-success', disabled: true