diff options
Diffstat (limited to 'test/dummy/app/views/layouts')
-rw-r--r-- | test/dummy/app/views/layouts/application.html.erb | 14 | ||||
-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, 28 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..a6eb017 --- /dev/null +++ b/test/dummy/app/views/layouts/application.html.erb | |||
@@ -0,0 +1,14 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>Dummy</title> | ||
5 | <%= csrf_meta_tags %> | ||
6 | |||
7 | <%= stylesheet_link_tag 'application', media: 'all' %> | ||
8 | <%= javascript_include_tag 'application' %> | ||
9 | </head> | ||
10 | |||
11 | <body> | ||
12 | <%= yield %> | ||
13 | </body> | ||
14 | </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..cbd34d2 --- /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 %> | |||