<%=h @project.name.titleize %>

<%= link_to 'Edit', edit_project_path(@project) %>

Users

<% @project.users.each do |user| %> <% end %> <% unless @project.users.include?(current_user) %> <%= link_to "Join Project", join_project_path(@project), :method => :post %> <% else %> <%= link_to "Leave Project", leave_project_path(@project), :method => :delete %> <% end %>

Wall

<% remote_form_for :wall, :url => project_wall_index_path(@project) do |f| %> <%= f.text_area :text, :cols => 35, :rows => 10, :id=> :new_post %> <%= f.submit :Submit %> <% end %>
<% @wall_posts.each do |post| %> <%= render :partial => 'wall/wall_posts', :locals => {:post => post} %> <% end %> <%= will_paginate @wall_posts, :param_name => :post_page %>

Tasks

<%= render :partial => 'tasks/task_list' %> <%= will_paginate @tasks %>

<%= link_to 'Back', projects_path %>