This commit is contained in:
rulingcom 2024-12-10 23:07:54 +08:00
parent 6614479976
commit 59d7746ba7
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<label><%= t("greeting_card.automatically_send") %></label>
</div>
<div class="controls">
<%= 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}"} %>
<div class="auto-send-block <%= 'hide' unless f.object.automatically_send %>">
<%= f.hidden_field_tag "#{f.object_name}[auto_send_date_type]", "-1" %>
<h5><%= t('mongoid.attributes.greeting_card_record.image') %></h5>