Correct invalid table markup

- Add required <tr> within <thead>
  - Add implicit <tbody> after <thead>
This commit is contained in:
Andrew Kvalheim 2023-03-04 13:12:47 -08:00
parent 097470bb0c
commit 1f31c1c80d
37 changed files with 330 additions and 291 deletions

View file

@ -10,15 +10,16 @@
.col-md-12
%table.datatable
%thead
%th ID
%th Title
%th Speakers Registered
%th Speakers Biographies
%th Commercial
%th Subtitle
%th Difficulty Level
- if @program.tracks.any?
%th Track
%tr
%th ID
%th Title
%th Speakers Registered
%th Speakers Biographies
%th Commercial
%th Subtitle
%th Difficulty Level
- if @program.tracks.any?
%th Track
%tbody
- @events.each do |event|
%tr

View file

@ -9,13 +9,14 @@
.col-md-12
%table.datatable
%thead
%th ID
%th Title
%th Speaker(s)
%th Requirements
%th Room
%th Date
%th Time
%tr
%th ID
%th Title
%th Speaker(s)
%th Requirements
%th Room
%th Date
%th Time
%tbody
- @events_with_requirements.each do |event|
%tr

View file

@ -9,9 +9,10 @@
.col-md-12
%table.datatable
%thead
%th ID
%th Title
%th Speaker(s)
%tr
%th ID
%th Title
%th Speaker(s)
%tbody
- @events_missing_commercial.each do |event|
%tr

View file

@ -9,12 +9,13 @@
.col-md-12
%table.datatable
%thead
%th Speaker Name
%th Registered?
%th Event
%th Room
%th Date
%th Time
%tr
%th Speaker Name
%th Registered?
%th Event
%th Room
%th Date
%th Time
%tbody
- @missing_event_speakers.each do |event_user|
- speaker = event_user.user