rails haml:erb2haml

new_user
JuliusR 12 months ago
parent 8fbd85f11a
commit 57e4cf3dee
  1. 16
      app/views/layouts/application.html.erb
  2. 12
      app/views/layouts/application.html.haml
  3. 13
      app/views/layouts/mailer.html.erb
  4. 8
      app/views/layouts/mailer.html.haml
  5. 1
      app/views/layouts/mailer.text.erb
  6. 1
      app/views/layouts/mailer.text.haml

@ -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>

@ -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>

@ -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
Loading…
Cancel
Save