<table class="table main-list">
  <thead>
    <tr class="sort-header">
      <% ["client_management.contract_uid", "client_management.user", "client_management.site", "client_management.created_on", "client_management.status", :actions].each_with_index do |f,i| %>
       <%= thead(f) %>
      <% end %>
    </tr>
  </thead>
  <tbody>
  <%= render :partial => "contract_index" %>
  </tbody>
 </table>
 <%=
  content_tag :div, class: "bottomnav clearfix" do
    content_tag :div, paginate(@contracts), class: "pagination pagination-centered"
  end
%>