summary refs log tree commit diff stats
path: root/rails/test/dummy/app/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'rails/test/dummy/app/views/layouts')
-rw-r--r--rails/test/dummy/app/views/layouts/application.html.erb15
-rw-r--r--rails/test/dummy/app/views/layouts/mailer.html.erb13
-rw-r--r--rails/test/dummy/app/views/layouts/mailer.text.erb1
3 files changed, 29 insertions, 0 deletions
diff --git a/rails/test/dummy/app/views/layouts/application.html.erb b/rails/test/dummy/app/views/layouts/application.html.erb new file mode 100644 index 0000000..f72b4ef --- /dev/null +++ b/rails/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/rails/test/dummy/app/views/layouts/mailer.html.erb b/rails/test/dummy/app/views/layouts/mailer.html.erb new file mode 100644 index 0000000..cbd34d2 --- /dev/null +++ b/rails/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/rails/test/dummy/app/views/layouts/mailer.text.erb b/rails/test/dummy/app/views/layouts/mailer.text.erb new file mode 100644 index 0000000..37f0bdd --- /dev/null +++ b/rails/test/dummy/app/views/layouts/mailer.text.erb
@@ -0,0 +1 @@
<%= yield %>