diff options
author | Rémy Coutable <remy@rymai.me> | 2018-10-15 17:06:18 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-10-15 17:06:18 +0200 |
commit | 2b3dab6f837b28ce4fd741d0e3e100e3a6a6e98a (patch) | |
tree | 105df4a713927b4e957af91a714668b33e89d199 /app/views/devise | |
parent | 5caee568ced04d8e9e0a1c83c76b57db2eb8d2db (diff) | |
download | gitlab-ce-2b3dab6f837b28ce4fd741d0e3e100e3a6a6e98a.tar.gz |
[QA] Handle sign-up when terms must be accepted
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/shared/_signup_box.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/shared/_signup_box.html.haml b/app/views/devise/shared/_signup_box.html.haml index 9a827523ed4..004a3528d4b 100644 --- a/app/views/devise/shared/_signup_box.html.haml +++ b/app/views/devise/shared/_signup_box.html.haml @@ -24,7 +24,7 @@ %p.gl-field-hint.text-secondary Minimum length is #{@minimum_password_length} characters - if Gitlab::CurrentSettings.current_application_settings.enforce_terms? .form-group - = check_box_tag :terms_opt_in, '1', false, required: true + = check_box_tag :terms_opt_in, '1', false, required: true, class: 'qa-new-user-accept-terms' = label_tag :terms_opt_in do - terms_link = link_to s_("I accept the|Terms of Service and Privacy Policy"), terms_path, target: "_blank" - accept_terms_label = _("I accept the %{terms_link}") % { terms_link: terms_link } |