Commit 6f556d8e71a777b6eaf45ad2f2d243c4e9ff1381

Authored by Dmitriy Zaporozhets
1 parent 687cf48e

Add resend-confirmation-link to sign-in page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 9 additions and 3 deletions   Show diff stats
app/views/devise/sessions/new.html.haml
@@ -17,14 +17,20 @@ @@ -17,14 +17,20 @@
17 17
18 18
19 = render 'devise/sessions/oauth_providers' if devise_mapping.omniauthable? 19 = render 'devise/sessions/oauth_providers' if devise_mapping.omniauthable?
  20 + %hr
20 21
21 - if gitlab_config.signup_enabled 22 - if gitlab_config.signup_enabled
22 - %hr  
23 - %div  
24 - Don't have an account? 23 + %p
  24 + %span.light
  25 + Don't have an account?
25 %strong 26 %strong
26 = link_to "Sign up", new_registration_path(resource_name) 27 = link_to "Sign up", new_registration_path(resource_name)
27 28
  29 + %p
  30 + %span.light Did not receive confirmation email?
  31 + = link_to "Send again", new_confirmation_path(resource_name)
  32 +
  33 +
28 - if extra_config.has_key?('sign_in_text') 34 - if extra_config.has_key?('sign_in_text')
29 %hr 35 %hr
30 = markdown(extra_config.sign_in_text) 36 = markdown(extra_config.sign_in_text)