From 59d7746ba74d680ab43469dccab6628bf4cf4f8e Mon Sep 17 00:00:00 2001 From: rulingcom Date: Tue, 10 Dec 2024 23:07:54 +0800 Subject: [PATCH] Fix bug. --- app/views/admin/greeting_cards/_auto_send_setting.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/greeting_cards/_auto_send_setting.html.erb b/app/views/admin/greeting_cards/_auto_send_setting.html.erb index 79c69ac..e4404a9 100644 --- a/app/views/admin/greeting_cards/_auto_send_setting.html.erb +++ b/app/views/admin/greeting_cards/_auto_send_setting.html.erb @@ -15,7 +15,7 @@
- <%= f.check_box :automatically_send, {class: "automatically_send_enable toggle-check", title: t("greeting_card.enable"), "data-disabled": !(f.object.automatically_send), id: "automatically_send_#{id_postfix}"} %> + <%= f.check_box :automatically_send, {:class => "automatically_send_enable toggle-check", :title => t("greeting_card.enable"), "data-disabled" => !(f.object.automatically_send), :id => "automatically_send_#{id_postfix}"} %>
<%= f.hidden_field_tag "#{f.object_name}[auto_send_date_type]", "-1" %>
<%= t('mongoid.attributes.greeting_card_record.image') %>