Commit c70a422

mo khan <mo@mokhan.ca>
2013-06-22 17:00:11
add I can help button
1 parent 7db7cfe
Changed files (1)
app
views
app/views/needs/index.html.erb
@@ -26,12 +26,12 @@
     <table class="table">
       <tr>
         <th>Description</th>
-        <th>Person</th>
+        <th></th>
       </tr>
       <% @needs.each do |need| %>
         <tr>
         <td><%= need.description %></td>
-        <td><%= need.user.email %></td>
+        <td><%= link_to "I can help...", need_path(need), :class => "btn" %></td>
       </tr>
     <% end %>
     </table>