Adding user email feature
This commit is contained in:
15
app/views/user_mailer/email.html.erb
Normal file
15
app/views/user_mailer/email.html.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
</head>
|
||||
<body>
|
||||
<p><b>From:</b> <%= link_to @from_user.name, @from_user %></p>
|
||||
<p>
|
||||
<%= simple_format @body %>
|
||||
</p>
|
||||
<p>
|
||||
<i>To reply, visit <%= link_to @url, @url %></i> .
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user