Browse Source

Organisation name in mailer

pull/155/head
baarkerlounger 3 years ago
parent
commit
fb0b2aa246
  1. 2
      app/views/devise/mailer/_password_change_initial.html.erb

2
app/views/devise/mailer/_password_change_initial.html.erb

@ -1,6 +1,6 @@
<p>Hello <%= @resource.name %>!</p>
<p>An account has been created for you to submit CORE data on behalf of <%= @resource.organisation %>.</p>
<p>An account has been created for you to submit CORE data on behalf of <%= @resource.organisation.name %>.</p>
<p>Your username is <%= @resource.email %>, use the link below to set your password.
<p><%= govuk_link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>

Loading…
Cancel
Save