Skip to content

Commit

Permalink
Fix wrong radio button values (annotation status)
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Nov 23, 2024
1 parent 8d58aea commit f405555
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/media/_basics.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@
<div class="form-row ml-2">
<div class="form-check form-check-inline">
<%= f.radio_button :annotations_status,
'0',
'-1',
class: 'form-check-input' %>
<%= f.label :annotations_status,
t('admin.annotation.inherit_from_lecture'),
value: '0',
value: '-1',
class: 'form-check-label' %>
</div>
<div class="form-check form-check-inline">
Expand All @@ -201,11 +201,11 @@
</div>
<div class="form-check form-check-inline">
<%= f.radio_button :annotations_status,
'-1',
'0',
class: 'form-check-input' %>
<%= f.label :annotations_status,
t('basics.no_lc'),
value: '-1',
value: '0',
class: 'form-check-label' %>
</div>
</div>
Expand Down

0 comments on commit f405555

Please sign in to comment.