diff options
Diffstat (limited to 'app/views/quote_mailer/pending_quote_email.html.haml')
| -rw-r--r-- | app/views/quote_mailer/pending_quote_email.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
| diff --git a/app/views/quote_mailer/pending_quote_email.html.haml b/app/views/quote_mailer/pending_quote_email.html.haml new file mode 100644 index 0000000..df72594 --- /dev/null +++ b/app/views/quote_mailer/pending_quote_email.html.haml | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | %p | ||
| 2 | A new quote has been submitted for moderation. | ||
| 3 | - unless @quote.submitter.nil? | ||
| 4 | %p | ||
| 5 | It was submitted by: | ||
| 6 | = succeed "." do | ||
| 7 | = @quote.submitter | ||
| 8 | %p The body of the quote: | ||
| 9 | %pre= @quote.content | ||
| 10 | %p | ||
| 11 | Submitted: | ||
| 12 | = @quote.created_at.strftime("%B #{@quote.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") | ||
| 13 | %p= link_to "Go to the admin panel", pending_admin_quotes_url | ||
