]> git.openstreetmap.org Git - rails.git/blob - app/views/user/diary.rhtml
Allow users to change their password from the account page, and get rid
[rails.git] / app / views / user / diary.rhtml
1 <h2><%= @this_user.display_name %>'s diary</h2>
2 <% if @user and @this_user.id == @user.id %>
3   <%= link_to 'new post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %>
4 <% end %>
5
6 <h3>recent posts:</h3>
7 <br><br>
8 <%= render :partial => 'diary_entry/diary_entry', :collection => @this_user.diary_entries %>