app/views/ish_manager/leadsets/index.haml in ish_manager-0.1.8.354 vs app/views/ish_manager/leadsets/index.haml in ish_manager-0.1.8.355

- old
+ new

@@ -1,14 +1,20 @@ .manager-leadsets-index %h5 - SQL = link_to 'Leadsets', leadsets_path (#{Leadset.all.count}) = link_to raw("<i class='fa fa-plus-square'></i>"), new_leadset_path - %table#dataTable.display.compact + .actions + %label.select-all + = check_box_tag :select_all + select all + %label.n-selected - + = button_tag 'Delete', method: :delete, class: 'delete-btn' + + %table.data-table.compact %thead %tr %th &nbsp; %th created at %th Name @@ -16,10 +22,10 @@ %th.company-url Company Url %th Location %tbody - @leadsets.each do |leadset| %tr - %td= check_box_tag leadset.id + %td= check_box_tag 'leadset_ids[]', leadset.id, nil, { class: 'i-sel' } %td= leadset.created_at.strftime("%Y-%m-%d %H:%M") %td= link_to leadset.name, leadset_path( leadset ) %td= leadset.tag %td= link_to leadset.company_url, leadset.company_url %td= leadset.location