From f1c313eb499db641962f33ee61993ae523c5c018 Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Wed, 5 Apr 2023 10:13:34 +0200 Subject: [PATCH] add 'scope: col' to table th --- app/views/instructeurs/procedures/_header_field.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/instructeurs/procedures/_header_field.html.haml b/app/views/instructeurs/procedures/_header_field.html.haml index f90b4a609..e4a54d673 100644 --- a/app/views/instructeurs/procedures/_header_field.html.haml +++ b/app/views/instructeurs/procedures/_header_field.html.haml @@ -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)