lib/templates/erb/scaffold/index.html.erb in bootstrap2-rails-0.0.3 vs lib/templates/erb/scaffold/index.html.erb in bootstrap2-rails-0.0.4

- old
+ new

@@ -19,10 +19,10 @@ <table class="table table-striped table-bordered table-condensed"> <thead> <tr> <% attributes.each do |attribute| -%> - <th class="<%%= sort_class(@sort_direction, @sort_column, '<%= attribute.name %>') %>"><%%= sortable('<%= attribute.name %>') %></th> + <th><%%= sortable('<%= attribute.name %>') + sort_icon(@sort_direction, @sort_column, '<%= attribute.name %>') %></th> <% end -%> <th width="140px"><a href="#">Actions</a></th> </tr> </thead>