2021-08-26 09:50:28 +02:00
-# ugly hack to know if the mail is creation confirmation or a password change confirmation
- if @user.unconfirmed_email.nil?
- content_for(:title, 'Activate account')
2021-08-26 17:50:39 +02:00
%p= t(:hello, scope: [:views, :shared, :greetings])
2021-08-26 09:50:28 +02:00
%p
2024-03-26 17:23:42 +01:00
You have entered your details to create an account on #{Current.application_name}. To confirm your email and finish creating your account, select the following link:
2021-08-26 09:50:28 +02:00
- link = confirmation_url(@user, confirmation_token: @token, procedure_id: @procedure&.id)
= link_to(link, link)
- else
- content_for(:title, "Change email address")
2021-08-26 17:50:39 +02:00
%p= t(:hello, scope: [:views, :shared, :greetings])
2021-08-26 09:50:28 +02:00
%p
2024-03-26 17:23:42 +01:00
To confirm your account email change on #{Current.application_name}, select the following link:
2021-08-26 09:50:28 +02:00
= link_to(confirmation_url(@user, confirmation_token: @token), confirmation_url(@user, confirmation_token: @token))
= render partial: "layouts/mailers/signature"