Permalink
Browse files

Apply thead/tbody to default datagrid table

  • Loading branch information...
1 parent 5e596bf commit 1c08e21dee807bddcbe38c3a4e7a575cb7f87ce8 @mipearson mipearson committed May 23, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 app/views/datagrid/_table.html.erb
@@ -5,6 +5,10 @@ Local variables:
* options - passed options Hash
%>
<%= content_tag :table, options[:html] do %>
- <%= datagrid_header(grid, options) %>
- <%= datagrid_rows(grid, assets, options) %>
+ <thead>
+ <%= datagrid_header(grid, options) %>
+ </thead>
+ <tbody>
+ <%= datagrid_rows(grid, assets, options) %>
+ </tbody>
<% end %>

0 comments on commit 1c08e21

Please sign in to comment.