<%= f.datetime_picker :start_date, :no_label => true, :new_record => @paper_criteria.new_record?, :data=>{"picker-type" => "range", "range" => "start"} %>
<%= f.datetime_picker :end_date, :no_label => true, :new_record => @paper_criteria.new_record?, :data=>{"picker-type" => "range", "range" => "end"} %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
<%= f.fields_for :sending_title_translations do |f| %>
<%= f.text_field locale, value: (@paper_criteria.sending_title_translations[locale] rescue nil) %>
<% end %>
<% end %>
<%= f.text_area :sending_notes %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
<% end %>
<%= f.text_area :other_emails %>
Separated by , (comma)
<% if @paper_criteria.image.file %>
<%= image_tag @paper_criteria.image %>
<% else %>
<% end %>
<%= t(:select_image) %>
<%= t(:change) %>
<%= f.file_field :image %>
<%= t(:cancel) %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
">
<%= f.fields_for :content_translations do |f| %>
<%= f.cktext_area locale, rows: 5, class: "input-block-level", :value => @paper_criteria.content_translations[locale] %>
<% end %>
<% end %>