diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-05-10 18:37:47 +0300 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-06-13 23:36:45 +0300 |
commit | a3bd6ce8a3b7b6d2d12107c4124346105d52bcce (patch) | |
tree | 40d00e0c41c07e7ddf224ced0430fc5986c877a2 /app/views/devise/mailer/unlock_instructions.html.haml | |
parent | 25fcaa9fa3a74b6f5fb85fad7e0d68f02634ba33 (diff) |
use common devise layout and use heading style
Diffstat (limited to 'app/views/devise/mailer/unlock_instructions.html.haml')
-rw-r--r-- | app/views/devise/mailer/unlock_instructions.html.haml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/app/views/devise/mailer/unlock_instructions.html.haml b/app/views/devise/mailer/unlock_instructions.html.haml index 9990d1ccac6..79e3a35cc9a 100644 --- a/app/views/devise/mailer/unlock_instructions.html.haml +++ b/app/views/devise/mailer/unlock_instructions.html.haml @@ -1,9 +1,8 @@ -.center - #content - %h2 Hello, #{@resource.name}! - %p - Your GitLab account has been locked due to an excessive amount of unsuccessful - sign in attempts. Your account will automatically unlock in #{time_ago_in_words(Devise.unlock_in.from_now)} - or you may click the link below to unlock now. - #cta - = link_to('Unlock account', unlock_url(@resource, unlock_token: @token)) +#content + = email_default_heading("Hello, #{@resource.name}!") + %p + Your GitLab account has been locked due to an excessive amount of unsuccessful + sign in attempts. Your account will automatically unlock in #{time_ago_in_words(Devise.unlock_in.from_now)} + or you may click the link below to unlock now. + #cta + = link_to('Unlock account', unlock_url(@resource, unlock_token: @token)) |