]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_comment.rhtml
Add support for commenting on, and replying to, diary entries.
[rails.git] / app / views / diary_entry / _diary_comment.rhtml
diff --git a/app/views/diary_entry/_diary_comment.rhtml b/app/views/diary_entry/_diary_comment.rhtml
new file mode 100644 (file)
index 0000000..2e7d0a5
--- /dev/null
@@ -0,0 +1,3 @@
+<h4>Comment from <%= link_to diary_comment.user.display_name, :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name %>  at <%= diary_comment.created_at %></h4>
+<%= htmlize(diary_comment.body) %>
+<hr />