<!DOCTYPE html>
<html>
<head>
  <title><%= t('.head_title') %></title>
  <%= stylesheet_link_tag 'rails_email_preview/application', 'data-turbolinks-track': 'reload' %>
  <%= csrf_meta_tag %>
  <%= csp_meta_tag if RailsEmailPreview.rails_supports_csp_nonce? %>
  <%= javascript_include_tag 'rails_email_preview/application',
                             'data-turbolinks-track': 'reload' %>
  <%= favicon_link_tag 'rails_email_preview/favicon.png' %>
  <%= yield(:head) %>
</head>
<body>
<div class="rep-standalone-container">
  <%= render 'layouts/rails_email_preview/flash_notices' %>
  <%= yield %>
</div>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title><%= t('.head_title') %></title>
  <%= stylesheet_link_tag 'rails_email_preview/application', 'data-turbolinks-track' => 'reload' %>
  <%= csrf_meta_tag %>
  <%= csp_meta_tag if RailsEmailPreview.rails_supports_csp_nonce? %>
  <%= javascript_include_tag 'rails_email_preview/application',
                             'data-turbolinks-track' => 'reload' %>
  <%= favicon_link_tag 'rails_email_preview/favicon.png' %>
  <%= yield(:head) %>
</head>
<body>
<div class="rep-standalone-container">
  <%= render 'layouts/rails_email_preview/flash_notices' %>
  <%= yield %>
</div>
</body>
</html>

Fix compatibility with ruby < 2.2 and ruby > 1.9.3
Fix compatibility with ruby < 2.2 and ruby > 1.9.3
