/diary links to users
[rails.git] / app / views / diary_entry / _diary_entry.rhtml
1 <b><%= diary_entry.title %></b><br />
2 <%= simple_format(diary_entry.body) %>
3 Posted by user <b><%= link_to diary_entry.user.display_name,{:controller => 'user', :action=>'diary', :display_name => diary_entry.user.display_name} %></b> at <%= diary_entry.created_at %><br />
4 <br />
5 <hr />