demarches-normaliennes/app/views/devise_mailer/email_changed.en.html.haml

13 lines
604 B
Text

- content_for(:title, 'New email address')
%p= t(:hello, scope: [:views, :shared, :greetings])
- unconfirmed_email = @resource.try(:unconfirmed_email?)
- if unconfirmed_email.present?
%p
We recieved a request to change the email address associated with your account #{@email} on #{Current.application_name}. The new email address will be #{unconfirmed_email}.
- else
%p
A change to the email address associated with your account #{@email} was made on #{Current.application_name}. You can now connect with the email address #{@resource.email}.
= render partial: "layouts/mailers/signature"