Update Bootstrap from v4 to v5
This commit is contained in:
@ -42,15 +42,15 @@ h1
|
||||
- if policy(@exercise).detailed_statistics?
|
||||
.bg-light.w-100.p-2.mb-4.align-items-center.d-flex.justify-content-between
|
||||
- if @show_autosaves
|
||||
span.pl-1.pb-1
|
||||
span.ps-1.pb-1
|
||||
i.fa-solid.fa-circle-info.align-middle
|
||||
small.mr-5.ml-1 = t('.toggle_status_on')
|
||||
= link_to t('.toggle_autosave_off'), statistics_external_user_exercise_path(show_autosaves: false), class: "btn btn-outline-dark float-right btn-sm"
|
||||
small.me-5.ms-1 = t('.toggle_status_on')
|
||||
= link_to t('.toggle_autosave_off'), statistics_external_user_exercise_path(show_autosaves: false), class: "btn btn-outline-dark float-end btn-sm"
|
||||
- else
|
||||
span.pl-1.pb-1
|
||||
span.ps-1.pb-1
|
||||
i.fa-solid.fa-circle-info.align-middle
|
||||
small.mr-5.ml-1 = t('.toggle_status_off')
|
||||
= link_to t('.toggle_autosave_on'), statistics_external_user_exercise_path(show_autosaves: true), class: "btn btn-outline-dark float-right btn-sm"
|
||||
small.me-5.ms-1 = t('.toggle_status_off')
|
||||
= link_to t('.toggle_autosave_on'), statistics_external_user_exercise_path(show_autosaves: true), class: "btn btn-outline-dark float-end btn-sm"
|
||||
#timeline
|
||||
.table-responsive
|
||||
table.table
|
||||
|
Reference in New Issue
Block a user