mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-25 01:23:23 +00:00
The EnterpriseMailer used `devise_mail` to send confirmation instructions. That call is more complicated than `mail` and added an unwanted reply-to header.
20 lines
624 B
Plaintext
20 lines
624 B
Plaintext
%h3
|
|
= t :email_confirmation_greeting, contact: @enterprise.contact
|
|
%p.lead
|
|
= t :email_confirmation_profile_created, name: @enterprise.name
|
|
%p
|
|
|
|
%p.callout
|
|
= t :email_confirmation_click_link
|
|
%br
|
|
%strong
|
|
= link_to t(:email_confirmation_link_label), confirmation_url(@enterprise, :confirmation_token => @enterprise.confirmation_token)
|
|
|
|
%p
|
|
%p
|
|
= t :email_confirmation_help_html, link: link_to(t(:email_confirmation_userguide), 'http://www.openfoodnetwork.org/platform/user-guide/'), sitename: Spree::Config[:site_name]
|
|
|
|
= render 'shared/mailers/signoff'
|
|
|
|
= render 'shared/mailers/social_and_contact'
|