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') %>