From 26bb7fcdca5d3a2c219d6a664b9371289cd08713 Mon Sep 17 00:00:00 2001 From: rajavi-mishra Date: Fri, 5 Mar 2021 09:12:52 -0800 Subject: [PATCH] change layouts to erb --- app/views/layouts/_mailbot_footer.html.erb | 12 +++++++++ app/views/layouts/_mailbot_header.html.erb | 31 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 app/views/layouts/_mailbot_footer.html.erb create mode 100644 app/views/layouts/_mailbot_header.html.erb diff --git a/app/views/layouts/_mailbot_footer.html.erb b/app/views/layouts/_mailbot_footer.html.erb new file mode 100644 index 00000000..fe304c9d --- /dev/null +++ b/app/views/layouts/_mailbot_footer.html.erb @@ -0,0 +1,12 @@ + + + + + + + <%= stylesheet_link_tag "mailbot" %> + + +
+ + \ No newline at end of file diff --git a/app/views/layouts/_mailbot_header.html.erb b/app/views/layouts/_mailbot_header.html.erb new file mode 100644 index 00000000..cc968b80 --- /dev/null +++ b/app/views/layouts/_mailbot_header.html.erb @@ -0,0 +1,31 @@ + + + + + + <%= 'Email' %> + + + + <%= stylesheet_link_tag "mailbot" %> + + +
+
+
+ <% if !@logo.nil? %> + <%= image_tag(@logo, style: "display:block") %> + <% end %> +
+
+

+
+
+
+
+ +
+ + + + \ No newline at end of file