From 7dd3a331826f3f58f904ef5b1ecdfd921f5e0e90 Mon Sep 17 00:00:00 2001 From: Splines <37160523+Splines@users.noreply.github.com> Date: Sun, 1 Dec 2024 17:55:41 +0100 Subject: [PATCH] Fix wrong radio button values (annotation status) (#708) --- app/views/media/_basics.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/media/_basics.html.erb b/app/views/media/_basics.html.erb index 2e6cdd877..773b09975 100644 --- a/app/views/media/_basics.html.erb +++ b/app/views/media/_basics.html.erb @@ -183,11 +183,11 @@
<%= 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' %>
@@ -201,11 +201,11 @@
<%= 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' %>