anchor.diff:    <%= f.submit %>
   </div>
   
  -<%= javascript_tag <<"EOD"
  +<%= javascript_tag <<EOD
   function scheduling_polls_update_date_picker(enable) {
     "use strict";
     if (enable === undefined) {
  
positive.code:   }
  }
  $(function() { scheduling_polls_update_date_picker(true); });
  EOD
  %>
  
negative.code:   <%= f.fields_for :scheduling_poll_item do |f_item| %>
      <%= render :partial => "scheduling_poll_item_form", :locals => { :f => f, :f_item => f_item } %>
    <% end %>
    <% add_item_tmpl = capture do %>
      <%= f.fields_for :scheduling_poll_item, SchedulingPollItem.new, :child_index => "CHILD_INDEX" do |f_item| %>
        <%= render :partial => "scheduling_poll_item_form", :locals => { :f => f, :f_item => f_item } %>
      <% end %>
    <% end %>
    <p>
      <%= link_to_function 'Add item', "scheduling_polls_add_item(\"#{escape_javascript(add_item_tmpl)}\")", :class => 'icon icon-add', :id => 'scheduling_poll_add_item_link' %>
    </p>
  </div>
  
  