diff options
Diffstat (limited to 'app/views/quote_mailer/pending_quote_email.text.erb')
-rw-r--r-- | app/views/quote_mailer/pending_quote_email.text.erb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/quote_mailer/pending_quote_email.text.erb b/app/views/quote_mailer/pending_quote_email.text.erb new file mode 100644 index 0000000..818fc4a --- /dev/null +++ b/app/views/quote_mailer/pending_quote_email.text.erb | |||
@@ -0,0 +1,15 @@ | |||
1 | A new quote has been submitted for moderation. | ||
2 | |||
3 | <% unless @quote.submitter.nil? %> | ||
4 | It was submitted by: <%= @quote.submitter %>. | ||
5 | |||
6 | <% end %> | ||
7 | Here is the quote: | ||
8 | |||
9 | --- | ||
10 | |||
11 | <%= @quote.content %> | ||
12 | |||
13 | --- | ||
14 | |||
15 | Posted: <%= @quote.created_at.strftime("%B #{@quote.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") %> | ||