Commit 7084dc2

mo khan <mo@mokhan.ca>
2013-06-23 06:01:29
add missing file. WTF?
1 parent 20632e6
Changed files (1)
app
views
app/views/tags/show.html.erb
@@ -0,0 +1,26 @@
+<div class="row">
+  <div class="span12">
+    <table class="table">
+      <tr>
+        <th></th>
+        <th></th>
+        <th>Need</th>
+        <th>Tags</th>
+        <th></th>
+      </tr>
+      <% @needs.each do |need| %>
+      <tr>
+        <td><%= gravatar_for(need.user) %></td> 
+        <td><%= need.user.name %></td>
+        <td> I need <%= need.description %></td>
+        <td><span> <i class="icon-tags"></i> </span>
+        <% need.tags.each do |tag| -%>
+          <a href="<%= url_for tag_path(tag.name) %>"><span class="label"><%= tag.name %></span></a>
+        <% end -%>
+        </td>
+        <td><%= link_to "Help", need_path(need), :class => "btn" %></td>
+      </tr>
+    <% end %>
+    </table>
+  </div>
+</div>