4
4
= file.label :used_by_grader, TaskFile.human_attribute_name('used_by_grader'), class: 'form-label w-auto me-2'
5
5
. radio-switch
6
6
= file.radio_button :used_by_grader, true, value: true, checked: true
7
- = file.label :used_by_grader_true, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('common.button.yes'), class: 'radio-left small-radio radio-half' do
7
+ = file.label :used_by_grader_true, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('common.button.yes'), class: 'radio-left small-radio radio-half' do
8
8
span .fa-stack
9
9
i .fa-solid .fa-check .fa-stack-1x .fa-2x
10
10
= file.radio_button :used_by_grader, false, value: false
11
- = file.label :used_by_grader_false, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('common.button.no'), class: 'radio-right small-radio radio-half' do
11
+ = file.label :used_by_grader_false, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('common.button.no'), class: 'radio-right small-radio radio-half' do
12
12
span .fa-stack
13
13
i .fa-solid .fa-xmark .fa-stack-1x .fa-2x
14
14
15
15
. form-control .placeholder
16
16
= file.label :used_by_grader, TaskFile.human_attribute_name('visible'), class: 'form-label w-auto me-2'
17
17
. radio-switch
18
18
= file.radio_button :visible, 'yes', value: 'yes', checked: true
19
- = file.label :visible_yes, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('common.button.yes'), class: 'radio-left small-radio radio-third' do
19
+ = file.label :visible_yes, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('common.button.yes'), class: 'radio-left small-radio radio-third' do
20
20
span .fa-stack
21
21
i .fa-regular .fa-eye .fa-stack-1x .fa-2x
22
22
= file.radio_button :visible, 'no', value: 'no'
23
- = file.label :visible_no, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('common.button.no'), class: 'radio-right radio-left small-radio radio-third' do
23
+ = file.label :visible_no, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('common.button.no'), class: 'radio-right radio-left small-radio radio-third' do
24
24
span .fa-stack
25
25
i .fa-regular .fa-eye-slash .fa-stack-1x .fa-2x
26
26
= file.radio_button :visible, 'delayed', value: 'delayed'
27
- = file.label :visible_delayed, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('.delayed'), class: 'radio-right small-radio radio-third' do
27
+ = file.label :visible_delayed, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('.delayed'), class: 'radio-right small-radio radio-third' do
28
28
span .fa-stack
29
29
i .fa-regular .fa-clock .fa-stack-1x .fa-2x
30
30
31
31
. form-control .placeholder
32
32
= file.label :usage_by_lms, TaskFile.human_attribute_name('usage_by_lms'), class: 'form-label w-auto me-2'
33
33
. radio-switch
34
34
= file.radio_button :usage_by_lms, 'edit', value: 'edit'
35
- = file.label :usage_by_lms_edit, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('common.button. edit'), class: 'radio-left small-radio radio-third ' do
35
+ = file.label :usage_by_lms_edit, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('. edit'), class: 'radio-left small-radio radio-quarter ' do
36
36
span .fa-stack
37
37
i .fa-solid .fa-pencil .fa-stack-1x .fa-2x
38
38
= file.radio_button :usage_by_lms, 'display', value: 'display'
39
- = file.label :usage_by_lms_display, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('.display'), class: 'radio-right radio-left small-radio radio-third ' do
39
+ = file.label :usage_by_lms_display, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('.display'), class: 'radio-right radio-left small-radio radio-quarter ' do
40
40
span .fa-stack
41
41
i .fa-regular .fa-eye .fa-stack-1x .fa-2x
42
42
= file.radio_button :usage_by_lms, 'download', value: 'download'
43
- = file.label :usage_by_lms_download, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('.download'), class: 'radio-right small-radio radio-third ' do
43
+ = file.label :usage_by_lms_download, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('.download'), class: 'radio-right radio-left small-radio radio-quarter ' do
44
44
span .fa-stack
45
45
i .fa-solid .fa-download .fa-stack-1x .fa-2x
46
46
= file.radio_button :usage_by_lms, ''
47
- = file.label :usage_by_lms_, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('.no_value'), class: 'radio-right small-radio radio-quarter' do
47
+ = file.label :usage_by_lms_, data: {'bs- toggle' : 'tooltip', placement: 'bottom'}, title: t('.no_value'), class: 'radio-right small-radio radio-quarter' do
48
48
span .fa-stack
49
49
i .fa-solid .fa-ban .fa-stack-1x .fa-2x
0 commit comments