started work on /diary
[rails.git] / app / views / diary_entry / _diary_entry.rhtml
index cf9115f6ce447ae26a17b8c4313746d90939e11b..8808aab03bb8a2b55621a98be12282349964aafa 100644 (file)
@@ -1,3 +1,5 @@
 <b><%= diary_entry.title %></b><br />
 <%= simple_format(diary_entry.body) %>
+Posted by user <b><%= link_to diary_entry.user_id,"spong" %></b> at <%= diary_entry.created_at %><br />
 <br />
+<hr />