- columns = [{:type => 'html'}, {:type => 'html', :sortable => false, :searchable => false}, {:type => nil, :sortable => false, :searchable => false, :class => 'buttons'}] = raw datatable(columns, {:sort_by => "[0, 'asc']", :search_label => t("layout.search_by_name"), :processing => t("layout.processing"), :pagination_labels => {:previous => t("datatables.previous_label"), :next => t("datatables.next_label")}, :empty_label => t("datatables.empty_label"), :info_label => t("datatables.info_label"), :info_empty_label => t("datatables.info_empty_label"), :filtered_label => t("datatables.filtered_label"), :table_dom_id => 'datatable', :auto_width => 'false', :ajax_source => "#{url_for :controller => :repositories, :action => :projects_list, :id => @repository.id, :added => "#{controller.action_name.to_sym == :show}"}" }) %table#datatable.tablesorter.repo-projects{:cellspacing => 0, :cellpadding => 0} %thead %tr %th.th1= t("activerecord.attributes.project.name") %th.th2= t("activerecord.attributes.project.description") %th.buttons   %tbody %br