fix mail template use erb for plain
This commit is contained in:
18
app/views/form_mailer/received.text.erb
Normal file
18
app/views/form_mailer/received.text.erb
Normal file
@ -0,0 +1,18 @@
|
||||
Hello <%= @data['name'] %>
|
||||
|
||||
This is an automated message confirming that we have receievd your request
|
||||
|
||||
Your form input is listed below. If you need to amend or correct, you may reply
|
||||
to this email.
|
||||
|
||||
You will hear from us in the next few days
|
||||
|
||||
Your friendly Feenix Bot
|
||||
|
||||
|
||||
Data received
|
||||
-------------
|
||||
|
||||
<%- @data.each do |name , value| %>
|
||||
<%= name %> : <%= value %>
|
||||
<%- end %>
|
Reference in New Issue
Block a user