tabletop-companion/app/views/layouts/mailer.html.erb

20 lines
422 B
Plaintext

<!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>
<% if @user.present? %>
<p><%= t(".greeting", name: @user.first_name) %></p>
<% else %>
<p><%= t(".greeting_without_name") %></p>
<% end %>
<%= yield %>
<%= t(".sign_off_html") %>
</body>
</html>