From 7bccf277909ad9bbd3d7f9cd89c5ffdde7e109fa Mon Sep 17 00:00:00 2001 From: rajavi-mishra Date: Fri, 5 Mar 2021 09:02:02 -0800 Subject: [PATCH] change to erb --- app/views/mailbot/email_template.html.erb | 5 +++++ app/views/mailbot/email_template.html.haml | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 app/views/mailbot/email_template.html.erb delete mode 100644 app/views/mailbot/email_template.html.haml diff --git a/app/views/mailbot/email_template.html.erb b/app/views/mailbot/email_template.html.erb new file mode 100644 index 00000000..41e0b0e6 --- /dev/null +++ b/app/views/mailbot/email_template.html.erb @@ -0,0 +1,5 @@ +<%= render "layouts/_mailbot_header" %> + <%= @email_body %> +<% end %> +<%= render "layouts/_mailbot_footer" %> + \ No newline at end of file diff --git a/app/views/mailbot/email_template.html.haml b/app/views/mailbot/email_template.html.haml deleted file mode 100644 index 9834d3fc..00000000 --- a/app/views/mailbot/email_template.html.haml +++ /dev/null @@ -1,4 +0,0 @@ -= render "layouts/_mailbot_header" - = @email_body -= render "layouts/_mailbot_footer" - \ No newline at end of file