add post count to pool listing

This commit is contained in:
albert
2013-02-23 17:17:46 -05:00
parent eb08c12998
commit b2fc148956
2 changed files with 9 additions and 1 deletions

View File

@@ -19,6 +19,10 @@ table.striped {
}
}
.number {
text-align: right;
}
thead {
tr {
border-bottom: 2px solid #666;

View File

@@ -4,8 +4,9 @@
<thead>
<tr>
<th width="5%"></th>
<th width="70%">Name</th>
<th width="60%">Name</th>
<th width="25%">Creator</th>
<th width="10%">Count</th>
</tr>
</thead>
<tbody>
@@ -20,6 +21,9 @@
<td>
<%= link_to h(pool.creator.name), user_path(pool.creator) %>
</td>
<td>
<%= pool.post_count %>
</td>
<% end %>
<% end %>
</tbody>