diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-01-04 14:44:10 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-01-04 14:44:10 +0000 |
commit | ce4258e991b6db0e400538bccf21ea10c4bc7b3a (patch) | |
tree | 2350bbe22adae6c36f8e5ec67871a0dfe56b9f10 /app/views | |
parent | 71a692c16db2aacd1dcbb55542e64ee269939feb (diff) | |
parent | 33b41bc8a821974d07d01ffdee98db35d1df4840 (diff) | |
download | gitlab-ce-ce4258e991b6db0e400538bccf21ea10c4bc7b3a.tar.gz |
Merge branch 'add_email_password_confirmation' into 'master'
Add email confirmation field to registration form
Closes #3053
See merge request !7432
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/devise/shared/_signup_box.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/devise/shared/_signup_box.html.haml b/app/views/devise/shared/_signup_box.html.haml index 545a938f4be..681eb303b49 100644 --- a/app/views/devise/shared/_signup_box.html.haml +++ b/app/views/devise/shared/_signup_box.html.haml @@ -15,6 +15,9 @@ .form-group = f.label :email = f.email_field :email, class: "form-control middle", required: true, title: "Please provide a valid email address." + %div.form-group + = f.label :email_confirmation + = f.email_field :email_confirmation, class: "form-control middle", required: true, title: "Please retype the email address." .form-group.append-bottom-20#password-strength = f.label :password = f.password_field :password, class: "form-control bottom", required: true, pattern: ".{#{@minimum_password_length},}", title: "Minimum length is #{@minimum_password_length} characters." |