Fix bug.
This commit is contained in:
parent
6614479976
commit
a6fe88b0f0
|
@ -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>
|
||||
|
|
|
@ -185,7 +185,7 @@
|
|||
<% end %>
|
||||
<!-- Images Module -->
|
||||
<%= render :partial=> "form_images", locals: {f: f, greeting_card_setting: greeting_card_setting, is_default: is_default} %>
|
||||
<% if !is_default %>
|
||||
<% if !is_default && (greeting_card_setting != @default_greeting_card_setting) %>
|
||||
<!-- Auto Send Setting -->
|
||||
<%= render :partial=> "auto_send_setting", locals: {f: f} %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue