Fix bug.
This commit is contained in:
parent
6614479976
commit
59d7746ba7
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue