ProjectEntropy/project-entropy.com

View on GitHub
app/views/devise/mailer/unlock_instructions.html.haml

Summary

Maintainability
Test Coverage
%p= t('.greeting', recipient: @resource.email, default: "Hello #{@resource.email}!")
%p= t('.message', default: 'Your account has been locked due to an excessive amount of unsuccessful sign in attempts.')
%p= t('.instruction', default: 'Click the link below to unlock your account:')
%p= link_to t('.action', default: 'Unlock my account'), unlock_url(@resource, unlock_token: @resource.unlock_token, locale: I18n.locale)