Permalink
Browse files

Remove white spaces from data table row. It's easier to work with bla…

…nk TDs using Jquery :empty.
  • Loading branch information...
1 parent 681fc3f commit 02225de3e2248d2326ce0d4d10cffa11e186ecb9 @shanlalit shanlalit committed Apr 11, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 app/views/datagrid/_row.html.erb
@@ -1,7 +1,5 @@
<tr class="<%= options[:cycle] && cycle(*options[:cycle]) %>">
<% grid.columns.each do |column| %>
- <td class="<%= datagrid_column_classes(grid, column) %>">
- <%= datagrid_format_value(grid, column, asset) %>
- </td>
+ <td class="<%= datagrid_column_classes(grid, column) %>"><%= datagrid_format_value(grid, column, asset) %></td>
<% end %>
</tr>

0 comments on commit 02225de

Please sign in to comment.