osem-fcy/app/views/admin/volunteers/_volunteers_table.html.haml
Andrew Kvalheim 1f31c1c80d Correct invalid table markup
- Add required <tr> within <thead>
  - Add implicit <tbody> after <thead>
2023-03-04 14:33:08 -08:00

28 lines
688 B
Text

.well
%table.table.table-striped.table-bordered.table-hover#volunteerstable
%thead
%tr
%th First Name
%th Last Name
%th Email
%th Mobile
%th Languages
%th Experience
%th Tshirt Size
%tbody
- @volunteers.each do |volunteer|
%tr
%td= volunteer.first_name
%td= volunteer.last_name
%td= volunteer.email
%td= volunteer.mobile
%td= volunteer.languages
%td= volunteer.volunteer_experience
%td= volunteer.tshirt
:javascript
$(document).ready(function(){
$('#volunteerstable').dataTable({
"bPaginate": false
});
});