.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))
