better formatting for forum update emails

This commit is contained in:
r888888888
2015-02-15 13:03:46 -08:00
parent 182b794c8e
commit 652db511ac

View File

@@ -1,21 +1,13 @@
<!doctype html>
<html>
<head>
<%= stylesheet_link_tag "application", :media => "screen" %>
</head>
<body>
<p><%= @forum_topic.title %> was updated:</p>
<p>"<%= @forum_topic.title %>" was updated:</p>
<% @forum_posts.each do |forum_post| %>
<div class="prose">
<p class="author">
<%= forum_post.creator_name %> said:
</p>
<%= format_text(forum_post.body) %>
</div>
<p>
<strong><%= forum_post.creator_name %> said:</strong>
</p>
<%= format_text(forum_post.body) %>
<br>
<hr>
<br>
<% end %>
<p><%= link_to "View topic", forum_topic_path(@forum_topic, :page => @forum_topic.last_page, :host => Danbooru.config.hostname, :only_path => false) %></p>
</body>
</html>