about summary refs log tree commit diff stats
path: root/app/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/application.html.haml (renamed from app/views/layouts/wittle/application.html.haml)4
-rw-r--r--app/views/layouts/mailer.html.erb13
-rw-r--r--app/views/layouts/mailer.text.erb1
3 files changed, 16 insertions, 2 deletions
diff --git a/app/views/layouts/wittle/application.html.haml b/app/views/layouts/application.html.haml index 1226d79..cae8de9 100644 --- a/app/views/layouts/wittle/application.html.haml +++ b/app/views/layouts/application.html.haml
@@ -4,8 +4,8 @@
4 %title Wittle 4 %title Wittle
5 = csrf_meta_tags 5 = csrf_meta_tags
6 = csp_meta_tag 6 = csp_meta_tag
7 = stylesheet_link_tag "wittle/application", media: "all" 7 = stylesheet_link_tag "application", "data-turbo-track": "reload"
8 = javascript_include_tag "wittle/application" 8 = javascript_include_tag "application"
9 %body 9 %body
10 #wrap 10 #wrap
11 %header#banner 11 %header#banner
diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb new file mode 100644 index 0000000..3aac900 --- /dev/null +++ b/app/views/layouts/mailer.html.erb
@@ -0,0 +1,13 @@
1<!DOCTYPE html>
2<html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <style>
6 /* Email styles need to be inline */
7 </style>
8 </head>
9
10 <body>
11 <%= yield %>
12 </body>
13</html>
diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb new file mode 100644 index 0000000..37f0bdd --- /dev/null +++ b/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
<%= yield %>