add 'scope: col' to table th

This commit is contained in:
Lisa Durand 2023-04-05 10:13:34 +02:00
parent 9065e57e62
commit f1c313eb49

View file

@ -1,4 +1,4 @@
%th{ @procedure_presentation.aria_sort(@procedure_presentation.sort['order'], field), class: classname }
%th{ @procedure_presentation.aria_sort(@procedure_presentation.sort['order'], field), scope: "col", class: classname }
= link_to update_sort_instructeur_procedure_path(@procedure, table: field['table'], column: field['column'], order: @procedure_presentation.opposite_order_for(field['table'], field['column'])) do
- if @procedure_presentation.sortable?(field)