2024-07-19 11:16:40 +02:00
|
|
|
%th{ @procedure_presentation.aria_sort(@procedure_presentation.sort['order'], field), scope: "col", class: field.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
|
2023-04-05 10:05:51 +02:00
|
|
|
- if @procedure_presentation.sortable?(field)
|
2017-09-27 15:16:07 +02:00
|
|
|
- if @procedure_presentation.sort['order'] == 'asc'
|
2024-07-19 11:16:40 +02:00
|
|
|
#{field.label} ↑
|
2017-09-27 15:16:07 +02:00
|
|
|
- else
|
2024-07-19 11:16:40 +02:00
|
|
|
#{field.label} ↓
|
2021-04-26 17:06:54 +02:00
|
|
|
- else
|
2024-07-19 11:16:40 +02:00
|
|
|
#{field.label}
|