From 413a4f78e8e7e957296e903a99d1b5d373d5f7dd Mon Sep 17 00:00:00 2001 From: Marcela Ribeiro de Oliveira <mro15@inf.ufpr.br> Date: Thu, 6 Apr 2017 10:47:10 -0300 Subject: [PATCH] views to suggestion mailer --- .../new_suggestion_received.html.erb | 12 ++++++++++++ .../suggestions_mailer/suggestion_updated.html.erb | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 app/views/suggestions_mailer/new_suggestion_received.html.erb create mode 100644 app/views/suggestions_mailer/suggestion_updated.html.erb diff --git a/app/views/suggestions_mailer/new_suggestion_received.html.erb b/app/views/suggestions_mailer/new_suggestion_received.html.erb new file mode 100644 index 00000000..a0a08db3 --- /dev/null +++ b/app/views/suggestions_mailer/new_suggestion_received.html.erb @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style>/* Email styles need to be inline */</style> + </head> + <body> + <h2>Nome: <%= @suggestion.name %></h1> + <h2>Link: <%= @suggestion.link %></h1> + <h2>Descrição: <%= @suggestion.description %></h1> + </body> +</html> diff --git a/app/views/suggestions_mailer/suggestion_updated.html.erb b/app/views/suggestions_mailer/suggestion_updated.html.erb new file mode 100644 index 00000000..a0a08db3 --- /dev/null +++ b/app/views/suggestions_mailer/suggestion_updated.html.erb @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style>/* Email styles need to be inline */</style> + </head> + <body> + <h2>Nome: <%= @suggestion.name %></h1> + <h2>Link: <%= @suggestion.link %></h1> + <h2>Descrição: <%= @suggestion.description %></h1> + </body> +</html> -- GitLab