about summary refs log tree commit diff stats
path: root/app/views/quote_mailer/pending_quote_email.text.erb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-21 12:36:21 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-21 12:36:21 -0400
commita39b0711eefb07fb75294a68d635fb1323d24cf3 (patch)
tree04f234347bb4fe2a0ce4a83b48c1bb121c620a9b /app/views/quote_mailer/pending_quote_email.text.erb
parent3bf957736f7ba79a0a0f30ace996ba05b0f33f15 (diff)
downloadthoughts-a39b0711eefb07fb75294a68d635fb1323d24cf3.tar.gz
thoughts-a39b0711eefb07fb75294a68d635fb1323d24cf3.tar.bz2
thoughts-a39b0711eefb07fb75294a68d635fb1323d24cf3.zip
Quotes can be submitted, although it is not encouraged
Diffstat (limited to 'app/views/quote_mailer/pending_quote_email.text.erb')
-rw-r--r--app/views/quote_mailer/pending_quote_email.text.erb15
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 @@
1A new quote has been submitted for moderation.
2
3<% unless @quote.submitter.nil? %>
4It was submitted by: <%= @quote.submitter %>.
5
6<% end %>
7Here is the quote:
8
9---
10
11<%= @quote.content %>
12
13---
14
15Posted: <%= @quote.created_at.strftime("%B #{@quote.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") %>