diff --git a/examples/blog/app/views/mailers/notification/confirmation_instructions.html.erb b/examples/blog/app/views/mailers/notification/confirmation_instructions.html.erb new file mode 100644 index 0000000..e7ba750 --- /dev/null +++ b/examples/blog/app/views/mailers/notification/confirmation_instructions.html.erb @@ -0,0 +1,4 @@ +
Hi <%= user.email %>, welcome to Prism Blog. Please confirm this address is yours.
+ +If you didn't sign up, you can ignore this email.
diff --git a/examples/blog/app/views/mailers/notification/confirmation_instructions.text.erb b/examples/blog/app/views/mailers/notification/confirmation_instructions.text.erb new file mode 100644 index 0000000..7351c58 --- /dev/null +++ b/examples/blog/app/views/mailers/notification/confirmation_instructions.text.erb @@ -0,0 +1,7 @@ +Confirm your email address + +Hi <%= user.email %>, welcome to Prism Blog. Please confirm this address is yours. + +Confirm my email: <%= confirmation_url %> + +If you didn't sign up, you can ignore this email. diff --git a/examples/blog/app/views/mailers/notification/new_post.html.erb b/examples/blog/app/views/mailers/notification/new_post.html.erb new file mode 100644 index 0000000..9a82441 --- /dev/null +++ b/examples/blog/app/views/mailers/notification/new_post.html.erb @@ -0,0 +1,3 @@ +<%= post.body %>
+ diff --git a/examples/blog/app/views/mailers/notification/new_post.text.erb b/examples/blog/app/views/mailers/notification/new_post.text.erb new file mode 100644 index 0000000..07dfe19 --- /dev/null +++ b/examples/blog/app/views/mailers/notification/new_post.text.erb @@ -0,0 +1,7 @@ +A new post was published on Prism Blog: + +<%= post.title %> + +<%= post.body %> + +Read it at <%= post_url %> diff --git a/examples/blog/app/views/mailers/notification/password_reset.html.erb b/examples/blog/app/views/mailers/notification/password_reset.html.erb new file mode 100644 index 0000000..5df72df --- /dev/null +++ b/examples/blog/app/views/mailers/notification/password_reset.html.erb @@ -0,0 +1,4 @@ +Hi <%= user.email %>, someone (hopefully you) asked to reset your Prism Blog password.
+ +This link expires in 15 minutes. If you didn't request this, you can ignore this email.
diff --git a/examples/blog/app/views/mailers/notification/password_reset.text.erb b/examples/blog/app/views/mailers/notification/password_reset.text.erb new file mode 100644 index 0000000..4653bde --- /dev/null +++ b/examples/blog/app/views/mailers/notification/password_reset.text.erb @@ -0,0 +1,7 @@ +Reset your password + +Hi <%= user.email %>, someone (hopefully you) asked to reset your Prism Blog password. + +Choose a new password: <%= reset_url %> + +This link expires in 15 minutes. If you didn't request this, you can ignore this email. diff --git a/examples/blog/app/views/mailers/notification/welcome.html.erb b/examples/blog/app/views/mailers/notification/welcome.html.erb new file mode 100644 index 0000000..91c6772 --- /dev/null +++ b/examples/blog/app/views/mailers/notification/welcome.html.erb @@ -0,0 +1,3 @@ +Hi <%= user.email %>, your account is ready.
+ diff --git a/examples/blog/app/views/mailers/notification/welcome.text.erb b/examples/blog/app/views/mailers/notification/welcome.text.erb new file mode 100644 index 0000000..45a8f0f --- /dev/null +++ b/examples/blog/app/views/mailers/notification/welcome.text.erb @@ -0,0 +1,5 @@ +Welcome to Prism Blog + +Hi <%= user.email %>, your account is ready. + +Start reading at /posts