Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Explain how to customize the email template #18

Merged
merged 1 commit into from

3 participants

@oponder

Figured other people might have this question too.

Might be too simple, and 'expected knowledge' for rails people, but it took me a little snooping to figure it out.

@josevalim
Owner

:heart:

@josevalim josevalim merged commit 2dbfaa5 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 13, 2012
  1. @oponder
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.md
View
5 README.md
@@ -205,6 +205,11 @@ mail_form:
user_agent: "Browser"
```
+## Custom e-mail template
+
+To customize the e-mail template that is used create a file called contact.erb in app/views/mail_form.
+Take a look at lib/mail_form/views/mail_form/contact.erb in this repo to see how the default template works.
+
## Maintainers
* José Valim - http://github.com/josevalim
Something went wrong with that request. Please try again.