diff options
Diffstat (limited to 'test/dummy/app/views')
-rw-r--r-- | test/dummy/app/views/layouts/application.html.erb | 15 | ||||
-rw-r--r-- | test/dummy/app/views/layouts/mailer.html.erb | 13 | ||||
-rw-r--r-- | test/dummy/app/views/layouts/mailer.text.erb | 1 |
3 files changed, 29 insertions, 0 deletions
diff --git a/test/dummy/app/views/layouts/application.html.erb b/test/dummy/app/views/layouts/application.html.erb new file mode 100644 index 0000000..f72b4ef --- /dev/null +++ b/test/dummy/app/views/layouts/application.html.erb | |||
@@ -0,0 +1,15 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>Dummy</title> | ||
5 | <meta name="viewport" content="width=device-width,initial-scale=1"> | ||
6 | <%= csrf_meta_tags %> | ||
7 | <%= csp_meta_tag %> | ||
8 | |||
9 | <%= stylesheet_link_tag "application" %> | ||
10 | </head> | ||
11 | |||
12 | <body> | ||
13 | <%= yield %> | ||
14 | </body> | ||
15 | </html> | ||
diff --git a/test/dummy/app/views/layouts/mailer.html.erb b/test/dummy/app/views/layouts/mailer.html.erb new file mode 100644 index 0000000..3aac900 --- /dev/null +++ b/test/dummy/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/test/dummy/app/views/layouts/mailer.text.erb b/test/dummy/app/views/layouts/mailer.text.erb new file mode 100644 index 0000000..37f0bdd --- /dev/null +++ b/test/dummy/app/views/layouts/mailer.text.erb | |||
@@ -0,0 +1 @@ | |||
<%= yield %> | |||