rails haml:erb2haml
This commit is contained in:
parent
8fbd85f11a
commit
57e4cf3dee
6 changed files with 21 additions and 30 deletions
|
@ -1,16 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Sharedlists</title>
|
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
||||||
<%= csrf_meta_tags %>
|
|
||||||
<%= csp_meta_tag %>
|
|
||||||
|
|
||||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
|
||||||
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<%= yield %>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
12
app/views/layouts/application.html.haml
Normal file
12
app/views/layouts/application.html.haml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
!!!
|
||||||
|
%html
|
||||||
|
%head
|
||||||
|
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
||||||
|
%title Sharedlists
|
||||||
|
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
|
||||||
|
= csrf_meta_tags
|
||||||
|
= csp_meta_tag
|
||||||
|
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
||||||
|
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
|
||||||
|
%body
|
||||||
|
= yield
|
|
@ -1,13 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<style>
|
|
||||||
/* Email styles need to be inline */
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<%= yield %>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
8
app/views/layouts/mailer.html.haml
Normal file
8
app/views/layouts/mailer.html.haml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
!!!
|
||||||
|
%html
|
||||||
|
%head
|
||||||
|
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
|
||||||
|
:css
|
||||||
|
/* Email styles need to be inline */
|
||||||
|
%body
|
||||||
|
= yield
|
|
@ -1 +0,0 @@
|
||||||
<%= yield %>
|
|
1
app/views/layouts/mailer.text.haml
Normal file
1
app/views/layouts/mailer.text.haml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
= yield
|
Loading…
Reference in a new issue